Class DataProfilePubSubMessage (4.0.0)

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

The message that will be published to a Pub/Sub topic. To receive a message of protocol buffer schema type, convert the message data to an object of this proto class. https://cloud.google.com/pubsub/docs/samples/pubsub-subscribe-proto-messages

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

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