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."],[[["The latest version of the `PublishToPubSub` class is 4.16.0, with a history of versions dating back to 2.15.0, each with its own documentation link for review."],["The `PublishToPubSub` class is designed to send a message to a specified Pub/Sub topic upon the completion of a DlpJob, which includes the finished job's name."],["This class implements various interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, comparison, deep cloning, and buffering."],["The `PublishToPubSub` class has two constructors: one default and one that takes another `PublishToPubSub` object, allowing for the creation of new instances."],["The `Topic` property of the `PublishToPubSub` class is used to specify the Cloud Pub/Sub topic to which notifications are sent, and it requires publishing access rights for the DLP API service account."]]],[]]