Interface DataProfileAction.PubSubNotificationOrBuilder (3.13.0)

public static interface DataProfileAction.PubSubNotificationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetailOfMessage()

public abstract DataProfileAction.PubSubNotification.DetailLevel getDetailOfMessage()

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).

.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4;

Returns
TypeDescription
DataProfileAction.PubSubNotification.DetailLevel

The detailOfMessage.

getDetailOfMessageValue()

public abstract int getDetailOfMessageValue()

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).

.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for detailOfMessage.

getEvent()

public abstract DataProfileAction.EventType getEvent()

The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.

.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;

Returns
TypeDescription
DataProfileAction.EventType

The event.

getEventValue()

public abstract int getEventValue()

The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.

.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for event.

getPubsubCondition()

public abstract DataProfilePubSubCondition getPubsubCondition()

Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.

.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;

Returns
TypeDescription
DataProfilePubSubCondition

The pubsubCondition.

getPubsubConditionOrBuilder()

public abstract DataProfilePubSubConditionOrBuilder getPubsubConditionOrBuilder()

Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.

.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;

Returns
TypeDescription
DataProfilePubSubConditionOrBuilder

getTopic()

public abstract String getTopic()

Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.

string topic = 1;

Returns
TypeDescription
String

The topic.

getTopicBytes()

public abstract ByteString getTopicBytes()

Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.

string topic = 1;

Returns
TypeDescription
ByteString

The bytes for topic.

hasPubsubCondition()

public abstract boolean hasPubsubCondition()

Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.

.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;

Returns
TypeDescription
boolean

Whether the pubsubCondition field is set.