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
- (::Google::Cloud::Dlp::V2::BigQueryDiscoveryTarget) — BigQuery target for Discovery. The first target to match a table will be the one applied.
#big_query_target=
def big_query_target=(value) -> ::Google::Cloud::Dlp::V2::BigQueryDiscoveryTarget
Parameter
- value (::Google::Cloud::Dlp::V2::BigQueryDiscoveryTarget) — BigQuery target for Discovery. The first target to match a table will be the one applied.
Returns
- (::Google::Cloud::Dlp::V2::BigQueryDiscoveryTarget) — BigQuery target for Discovery. The first target to match a table will be the one applied.
#cloud_sql_target
def cloud_sql_target() -> ::Google::Cloud::Dlp::V2::CloudSqlDiscoveryTarget
Returns
- (::Google::Cloud::Dlp::V2::CloudSqlDiscoveryTarget) — Cloud SQL target for Discovery. The first target to match a table will be the one applied.
#cloud_sql_target=
def cloud_sql_target=(value) -> ::Google::Cloud::Dlp::V2::CloudSqlDiscoveryTarget
Parameter
- value (::Google::Cloud::Dlp::V2::CloudSqlDiscoveryTarget) — Cloud SQL target for Discovery. The first target to match a table will be the one applied.
Returns
- (::Google::Cloud::Dlp::V2::CloudSqlDiscoveryTarget) — Cloud SQL target for Discovery. The first target to match a table will be the one applied.
#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.