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 v2 API, specifically for the .NET framework."],["The `PublishToPubSub` class is designed to publish a message to a specified Pub/Sub topic upon the completion of a DlpJob, containing the name of the finished job, compatible with Inspect and Risk job types."],["The document details the class's inheritance from `object` and its implementation of multiple interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has properties such as `Topic`, that can be used to specify the topic that will receive notifications when a DlpJob is complete, that must give publishing rights to the API service account."],["The document lists the different versions of the class available, ranging from version 2.16.0 to the latest version 4.16.0."]]],[]]