Interface DataProfileAction.PubSubNotificationOrBuilder (3.51.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
DataProfilePubSubConditionOrBuilder

getTopic()

public abstract String getTopic()

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

string topic = 1;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the pubsubCondition field is set.