Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DataProfileAction (v1.7.0)

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.

    Note: The following fields are mutually exclusive: export_data, pub_sub_notification, publish_to_chronicle, publish_to_scc, tag_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: export_data, pub_sub_notification, publish_to_chronicle, publish_to_scc, tag_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::DataProfileAction::Export) — Export data profiles into a provided location.

    Note: The following fields are mutually exclusive: export_data, pub_sub_notification, publish_to_chronicle, publish_to_scc, tag_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: pub_sub_notification, export_data, publish_to_chronicle, publish_to_scc, tag_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: pub_sub_notification, export_data, publish_to_chronicle, publish_to_scc, tag_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification) — Publish a message into the Pub/Sub topic.

    Note: The following fields are mutually exclusive: pub_sub_notification, export_data, publish_to_chronicle, publish_to_scc, tag_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.

#publish_to_chronicle

def publish_to_chronicle() -> ::Google::Cloud::Dlp::V2::DataProfileAction::PublishToChronicle
Returns

#publish_to_chronicle=

def publish_to_chronicle=(value) -> ::Google::Cloud::Dlp::V2::DataProfileAction::PublishToChronicle
Parameter
Returns

#publish_to_scc

def publish_to_scc() -> ::Google::Cloud::Dlp::V2::DataProfileAction::PublishToSecurityCommandCenter
Returns

#publish_to_scc=

def publish_to_scc=(value) -> ::Google::Cloud::Dlp::V2::DataProfileAction::PublishToSecurityCommandCenter
Parameter
Returns

#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.

    Note: The following fields are mutually exclusive: tag_resources, export_data, pub_sub_notification, publish_to_chronicle, publish_to_scc. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: tag_resources, export_data, pub_sub_notification, publish_to_chronicle, publish_to_scc. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::DataProfileAction::TagResources) — Tags the profiled resources with the specified tag values.

    Note: The following fields are mutually exclusive: tag_resources, export_data, pub_sub_notification, publish_to_chronicle, publish_to_scc. If a field in that set is populated, all other fields in the set will automatically be cleared.