Package com.google.privacy.dlp.v2
Interface DataProfileAction.PubSubNotificationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataProfileAction.PubSubNotification,DataProfileAction.PubSubNotification.Builder
- Enclosing class:
- DataProfileAction
public static interface DataProfileAction.PubSubNotificationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionHow much data to include in the Pub/Sub message.intHow much data to include in the Pub/Sub message.getEvent()The type of event that triggers a Pub/Sub.intThe type of event that triggers a Pub/Sub.Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.getTopic()Cloud Pub/Sub topic to send notifications to.com.google.protobuf.ByteStringCloud Pub/Sub topic to send notifications to.booleanConditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTopic
String getTopic()Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.string topic = 1;- Returns:
- The topic.
-
getTopicBytes
com.google.protobuf.ByteString getTopicBytes()Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.string topic = 1;- Returns:
- The bytes for topic.
-
getEventValue
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:
- The enum numeric value on the wire for event.
-
getEvent
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:
- The event.
-
hasPubsubCondition
boolean hasPubsubCondition()Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;- Returns:
- Whether the pubsubCondition field is set.
-
getPubsubCondition
DataProfilePubSubCondition getPubsubCondition()Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;- Returns:
- The pubsubCondition.
-
getPubsubConditionOrBuilder
DataProfilePubSubConditionOrBuilder getPubsubConditionOrBuilder()Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; -
getDetailOfMessageValue
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:
- The enum numeric value on the wire for detailOfMessage.
-
getDetailOfMessage
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:
- The detailOfMessage.
-