Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification (v0.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DataProfileAction::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#detail_of_message
defdetail_of_message()->::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification::DetailLevel
Returns
- (::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification::DetailLevel) — 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).
#detail_of_message=
defdetail_of_message=(value)->::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification::DetailLevel
Parameter
- value (::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification::DetailLevel) — 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).
Returns
- (::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification::DetailLevel) — 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).
#event
defevent()->::Google::Cloud::Dlp::V2::DataProfileAction::EventType
Returns
-
(::Google::Cloud::Dlp::V2::DataProfileAction::EventType) — The type of event that triggers a Pub/Sub. At most one
PubSubNotificationper EventType is permitted.
#event=
defevent=(value)->::Google::Cloud::Dlp::V2::DataProfileAction::EventType
Parameter
-
value (::Google::Cloud::Dlp::V2::DataProfileAction::EventType) — The type of event that triggers a Pub/Sub. At most one
PubSubNotificationper EventType is permitted.
Returns
-
(::Google::Cloud::Dlp::V2::DataProfileAction::EventType) — The type of event that triggers a Pub/Sub. At most one
PubSubNotificationper EventType is permitted.
#pubsub_condition
defpubsub_condition()->::Google::Cloud::Dlp::V2::DataProfilePubSubCondition
Returns
- (::Google::Cloud::Dlp::V2::DataProfilePubSubCondition) — Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
#pubsub_condition=
defpubsub_condition=(value)->::Google::Cloud::Dlp::V2::DataProfilePubSubCondition
Parameter
- value (::Google::Cloud::Dlp::V2::DataProfilePubSubCondition) — Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
Returns
- (::Google::Cloud::Dlp::V2::DataProfilePubSubCondition) — Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
#topic
deftopic()->::String
Returns
- (::String) — Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
#topic=
deftopic=(value)->::String
Parameter
- value (::String) — Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
Returns
- (::String) — Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.