public sealed class Action.Types.PublishToPubSub : IMessage<Action.Types.PublishToPubSub>, IEquatable<Action.Types.PublishToPubSub>, IDeepCloneable<Action.Types.PublishToPubSub>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class Action.Types.PublishToPubSub.
Publish a message into a given Pub/Sub topic when DlpJob has completed. The
message contains a single field, DlpJobName, which is equal to the
finished job's
DlpJob.name.
Compatible with: Inspect, Risk
Cloud Pub/Sub topic to send notifications to. The topic must have given
publishing access rights to the DLP API service account executing
the long running DlpJob sending the notifications.
Format is projects/{project}/topics/{topic}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document provides reference documentation for the `Action.Types.PublishToPubSub` class within the Google Cloud Data Loss Prevention (DLP) v2 API."],["The `PublishToPubSub` class is used to send notifications to a specified Pub/Sub topic when a DLP job is completed, containing the `DlpJobName` in the message."],["This class implements multiple interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and has constructors for default initialization and cloning."],["The class includes a `Topic` property, which is a string that represents the Cloud Pub/Sub topic where notifications are sent and requires publishing access to be given to the DLP API service account."],["The documentation available for this specific class spans across multiple versions from 2.15.0 to 4.16.0, with the latter being the most recent."]]],[]]