Google Cloud Data Loss Prevention v2 API - Class DataProfilePubSubMessage (4.7.0)

public sealed class DataProfilePubSubMessage : IMessage<DataProfilePubSubMessage>, IEquatable<DataProfilePubSubMessage>, IDeepCloneable<DataProfilePubSubMessage>, IBufferMessage, IMessage

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

Pub/Sub topic message for a DataProfileAction.PubSubNotification event. To receive a message of protocol buffer schema type, convert the message data to an object of this proto class.

Inheritance

object > DataProfilePubSubMessage

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

DataProfilePubSubMessage()

public DataProfilePubSubMessage()

DataProfilePubSubMessage(DataProfilePubSubMessage)

public DataProfilePubSubMessage(DataProfilePubSubMessage other)
Parameter
NameDescription
otherDataProfilePubSubMessage

Properties

Event

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

The event that caused the Pub/Sub message to be sent.

Property Value
TypeDescription
DataProfileActionTypesEventType

Profile

public TableDataProfile Profile { get; set; }

If DetailLevel is TABLE_PROFILE this will be fully populated. Otherwise, if DetailLevel is RESOURCE_NAME, then only name and full_resource will be populated.

Property Value
TypeDescription
TableDataProfile