public sealed class DataProfileAction.Types.PubSubNotification : IMessage<DataProfileAction.Types.PubSubNotification>, IEquatable<DataProfileAction.Types.PubSubNotification>, IDeepCloneable<DataProfileAction.Types.PubSubNotification>, IBufferMessage, IMessageReference 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.
Implements
IMessageDataProfileActionTypesPubSubNotification, IEquatableDataProfileActionTypesPubSubNotification, IDeepCloneableDataProfileActionTypesPubSubNotification, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
PubSubNotification()
public PubSubNotification()PubSubNotification(PubSubNotification)
public PubSubNotification(DataProfileAction.Types.PubSubNotification other)| Parameter | |
|---|---|
| Name | Description |
other |
DataProfileActionTypesPubSubNotification |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
DataProfileActionTypesEventType |
|
PubsubCondition
public DataProfilePubSubCondition PubsubCondition { get; set; }Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
| Property Value | |
|---|---|
| Type | Description |
DataProfilePubSubCondition |
|
Topic
public string Topic { get; set; }Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
| Property Value | |
|---|---|
| Type | Description |
string |
|