Google Cloud Data Loss Prevention v2 API - Class Action.Types.PublishToPubSub (4.6.0)

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

Inheritance

object > Action.Types.PublishToPubSub

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

PublishToPubSub()

public PublishToPubSub()

PublishToPubSub(PublishToPubSub)

public PublishToPubSub(Action.Types.PublishToPubSub other)
Parameter
NameDescription
otherActionTypesPublishToPubSub

Properties

Topic

public string Topic { get; set; }

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}.

Property Value
TypeDescription
string