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-04-09 UTC."],[[["The `Action.Types.PublishToPubSub` class in the Google Cloud Data Loss Prevention v2 API allows publishing messages to a designated Pub/Sub topic upon completion of a DlpJob."],["This class, part of the `Google.Cloud.Dlp.V2` namespace, is compatible with Inspect and Risk actions and is available across multiple versions, ranging from 2.15.0 to the latest 4.16.0."],["The `PublishToPubSub` message contains a single field, `DlpJobName`, that corresponds to the finished job's name, as defined in the `DlpJob.name` field."],["To use the Pub/Sub functionality, the specified topic must grant publishing access to the DLP API service account responsible for running the DlpJob."],["This is a comprehensive overview of all the versions of the same API class `Action.Types.PublishToPubSub` that are available for use in google cloud."]]],[]]