Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DataProfileAction.
A task to execute when a data profile has been generated.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#export_data
def export_data() -> ::Google::Cloud::Dlp::V2::DataProfileAction::Export
Returns
- (::Google::Cloud::Dlp::V2::DataProfileAction::Export) — Export data profiles into a provided location.
#export_data=
def export_data=(value) -> ::Google::Cloud::Dlp::V2::DataProfileAction::Export
Parameter
- value (::Google::Cloud::Dlp::V2::DataProfileAction::Export) — Export data profiles into a provided location.
Returns
- (::Google::Cloud::Dlp::V2::DataProfileAction::Export) — Export data profiles into a provided location.
#pub_sub_notification
def pub_sub_notification() -> ::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification
Returns
- (::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification) — Publish a message into the Pub/Sub topic.
#pub_sub_notification=
def pub_sub_notification=(value) -> ::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification
Parameter
- value (::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification) — Publish a message into the Pub/Sub topic.
Returns
- (::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification) — Publish a message into the Pub/Sub topic.
#tag_resources
def tag_resources() -> ::Google::Cloud::Dlp::V2::DataProfileAction::TagResources
Returns
- (::Google::Cloud::Dlp::V2::DataProfileAction::TagResources) — Tags the profiled resources with the specified tag values.
#tag_resources=
def tag_resources=(value) -> ::Google::Cloud::Dlp::V2::DataProfileAction::TagResources
Parameter
- value (::Google::Cloud::Dlp::V2::DataProfileAction::TagResources) — Tags the profiled resources with the specified tag values.
Returns
- (::Google::Cloud::Dlp::V2::DataProfileAction::TagResources) — Tags the profiled resources with the specified tag values.