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
def detail_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=
def detail_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
def event() -> ::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
PubSubNotification
per EventType is permitted.
#event=
def event=(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
PubSubNotification
per EventType is permitted.
Returns
-
(::Google::Cloud::Dlp::V2::DataProfileAction::EventType) — The type of event that triggers a Pub/Sub. At most one
PubSubNotification
per EventType is permitted.
#pubsub_condition
def pubsub_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=
def pubsub_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
def topic() -> ::String
Returns
- (::String) — Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
#topic=
def topic=(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}.