Google Cloud Data Loss Prevention v2 API - Class DataProfileAction.Types.PubSubNotification (4.8.0)

public sealed class DataProfileAction.Types.PubSubNotification : IMessage<DataProfileAction.Types.PubSubNotification>, IEquatable<DataProfileAction.Types.PubSubNotification>, IDeepCloneable<DataProfileAction.Types.PubSubNotification>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DataProfileAction.Types.PubSubNotification.

Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of DataProfilePubSubMessage.

Inheritance

object > DataProfileAction.Types.PubSubNotification

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

PubSubNotification()

public PubSubNotification()

PubSubNotification(PubSubNotification)

public PubSubNotification(DataProfileAction.Types.PubSubNotification other)
Parameter
NameDescription
otherDataProfileActionTypesPubSubNotification

Properties

DetailOfMessage

public DataProfileAction.Types.PubSubNotification.Types.DetailLevel DetailOfMessage { get; set; }

How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).

Property Value
TypeDescription
DataProfileActionTypesPubSubNotificationTypesDetailLevel

Event

public DataProfileAction.Types.EventType Event { get; set; }

The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.

Property Value
TypeDescription
DataProfileActionTypesEventType

PubsubCondition

public DataProfilePubSubCondition PubsubCondition { get; set; }

Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.

Property Value
TypeDescription
DataProfilePubSubCondition

Topic

public string Topic { get; set; }

Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.

Property Value
TypeDescription
string