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

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DiscoveryTarget.

Target used to match against for Discovery.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#big_query_target

defbig_query_target()->::Google::Cloud::Dlp::V2::BigQueryDiscoveryTarget
Returns

#big_query_target=

defbig_query_target=(value)->::Google::Cloud::Dlp::V2::BigQueryDiscoveryTarget
Parameter
Returns

#cloud_sql_target

defcloud_sql_target()->::Google::Cloud::Dlp::V2::CloudSqlDiscoveryTarget
Returns

#cloud_sql_target=

defcloud_sql_target=(value)->::Google::Cloud::Dlp::V2::CloudSqlDiscoveryTarget
Parameter
Returns

#cloud_storage_target

defcloud_storage_target()->::Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget
Returns

#cloud_storage_target=

defcloud_storage_target=(value)->::Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget
Parameter
Returns

#other_cloud_target

defother_cloud_target()->::Google::Cloud::Dlp::V2::OtherCloudDiscoveryTarget
Returns

#other_cloud_target=

defother_cloud_target=(value)->::Google::Cloud::Dlp::V2::OtherCloudDiscoveryTarget
Parameter
Returns

#secrets_target

defsecrets_target()->::Google::Cloud::Dlp::V2::SecretsDiscoveryTarget
Returns
  • (::Google::Cloud::Dlp::V2::SecretsDiscoveryTarget) — Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.

#secrets_target=

defsecrets_target=(value)->::Google::Cloud::Dlp::V2::SecretsDiscoveryTarget
Parameter
  • value (::Google::Cloud::Dlp::V2::SecretsDiscoveryTarget) — Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.
Returns
  • (::Google::Cloud::Dlp::V2::SecretsDiscoveryTarget) — Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.

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.