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

Stay organized with collections Save and categorize content based on your preferences.
public sealed class 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(DataProfileAction.Types.PubSubNotification)

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

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
DataProfileAction.Types.PubSubNotification.Types.DetailLevel

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
DataProfileAction.Types.EventType

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