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

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

defexport_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, publish_to_dataplex_catalog. If a field in that set is populated, all other fields in the set will automatically be cleared.

#export_data=

defexport_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, publish_to_dataplex_catalog. 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, publish_to_dataplex_catalog. If a field in that set is populated, all other fields in the set will automatically be cleared.

#pub_sub_notification

defpub_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, publish_to_dataplex_catalog. If a field in that set is populated, all other fields in the set will automatically be cleared.

#pub_sub_notification=

defpub_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, publish_to_dataplex_catalog. 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, publish_to_dataplex_catalog. If a field in that set is populated, all other fields in the set will automatically be cleared.

#publish_to_chronicle

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

#publish_to_chronicle=

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

#publish_to_dataplex_catalog

defpublish_to_dataplex_catalog()->::Google::Cloud::Dlp::V2::DataProfileAction::PublishToDataplexCatalog
Returns
  • (::Google::Cloud::Dlp::V2::DataProfileAction::PublishToDataplexCatalog) — Publishes a portion of each profile to Dataplex Catalog with the aspect type Sensitive Data Protection Profile.

    Note: The following fields are mutually exclusive: publish_to_dataplex_catalog, 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.

#publish_to_dataplex_catalog=

defpublish_to_dataplex_catalog=(value)->::Google::Cloud::Dlp::V2::DataProfileAction::PublishToDataplexCatalog
Parameter
  • value (::Google::Cloud::Dlp::V2::DataProfileAction::PublishToDataplexCatalog) — Publishes a portion of each profile to Dataplex Catalog with the aspect type Sensitive Data Protection Profile.

    Note: The following fields are mutually exclusive: publish_to_dataplex_catalog, 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::PublishToDataplexCatalog) — Publishes a portion of each profile to Dataplex Catalog with the aspect type Sensitive Data Protection Profile.

    Note: The following fields are mutually exclusive: publish_to_dataplex_catalog, 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.

#publish_to_scc

defpublish_to_scc()->::Google::Cloud::Dlp::V2::DataProfileAction::PublishToSecurityCommandCenter
Returns
  • (::Google::Cloud::Dlp::V2::DataProfileAction::PublishToSecurityCommandCenter) — Publishes findings to Security Command Center for each data profile.

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

#publish_to_scc=

defpublish_to_scc=(value)->::Google::Cloud::Dlp::V2::DataProfileAction::PublishToSecurityCommandCenter
Parameter
  • value (::Google::Cloud::Dlp::V2::DataProfileAction::PublishToSecurityCommandCenter) — Publishes findings to Security Command Center for each data profile.

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

Returns
  • (::Google::Cloud::Dlp::V2::DataProfileAction::PublishToSecurityCommandCenter) — Publishes findings to Security Command Center for each data profile.

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

#tag_resources

deftag_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, publish_to_dataplex_catalog. If a field in that set is populated, all other fields in the set will automatically be cleared.

#tag_resources=

deftag_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, publish_to_dataplex_catalog. 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, publish_to_dataplex_catalog. If a field in that set is populated, all other fields in the set will automatically be cleared.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.