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 page details the `PublishToPubSub` class within the `Google.Cloud.Dlp.V2` namespace, which is used to publish a message to a Pub/Sub topic upon completion of a Data Loss Prevention (DLP) job."],["The `PublishToPubSub` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, extending its functionality within the .NET environment."],["The class provides two constructors: a default constructor and another that accepts an existing `Action.Types.PublishToPubSub` instance for creating a new object."],["The `Topic` property within the `PublishToPubSub` class allows configuration of the destination Cloud Pub/Sub topic for notifications, with specific access rights required for the DLP API service account."],["This webpage provides links to many versions of the `PublishToPubSub`, starting at version 2.15.0, and has a current latest version of 4.16.0."]]],[]]