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.
Implements
IMessageDataProfilePubSubMessage, IEquatableDataProfilePubSubMessage, IDeepCloneableDataProfilePubSubMessage, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
DataProfilePubSubMessage()
public DataProfilePubSubMessage()
DataProfilePubSubMessage(DataProfilePubSubMessage)
public DataProfilePubSubMessage(DataProfilePubSubMessage other)
Parameter | |
---|---|
Name | Description |
other |
DataProfilePubSubMessage |
Properties
Event
public DataProfileAction.Types.EventType Event { get; set; }
The event that caused the Pub/Sub message to be sent.
Property Value | |
---|---|
Type | Description |
DataProfileActionTypesEventType |
FileStoreProfile
public FileStoreDataProfile FileStoreProfile { get; set; }
If DetailLevel
is FILE_STORE_PROFILE
this will be fully populated.
Otherwise, if DetailLevel
is RESOURCE_NAME
, then only name
and
file_store_path
will be populated.
Property Value | |
---|---|
Type | Description |
FileStoreDataProfile |
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 | |
---|---|
Type | Description |
TableDataProfile |