public sealed class PublishToPubSub : IMessage<Action.Types.PublishToPubSub>, IEquatable<Action.Types.PublishToPubSub>, IDeepCloneable<Action.Types.PublishToPubSub>, IBufferMessage, IMessage
Publish a message into 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 webpage details the `PublishToPubSub` class within the `Google.Cloud.Dlp.V2` namespace, which is used to publish a message to a Pub/Sub topic upon the completion of a DlpJob."],["The latest version available is 4.16.0, with a list of versions ranging from 2.15.0 up to 4.16.0 and including the version number 3.4.0."],["The `PublishToPubSub` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits members from the `Object` class."],["The `PublishToPubSub` class can be constructed with a default constructor or with another `Action.Types.PublishToPubSub` object as a parameter, and has one property, `Topic`, that defines the destination cloud Pub/Sub topic."],["The `PublishToPubSub` functionality is compatible with Inspect and Risk DLP Job types, which are used to scan and analyze data for potential sensitive information."]]],[]]