Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DiscoveryTarget (v1.4.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

def big_query_target() -> ::Google::Cloud::Dlp::V2::BigQueryDiscoveryTarget
Returns

#big_query_target=

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

#cloud_sql_target

def cloud_sql_target() -> ::Google::Cloud::Dlp::V2::CloudSqlDiscoveryTarget
Returns

#cloud_sql_target=

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

#cloud_storage_target

def cloud_storage_target() -> ::Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget
Returns

#cloud_storage_target=

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

#other_cloud_target

def other_cloud_target() -> ::Google::Cloud::Dlp::V2::OtherCloudDiscoveryTarget
Returns

#other_cloud_target=

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

#secrets_target

def secrets_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=

def secrets_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.