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.
#cloud_storage_target
def cloud_storage_target() -> ::Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget
Returns
- (::Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget) — Cloud Storage target for Discovery. The first target to match a table will be the one applied.
#cloud_storage_target=
def cloud_storage_target=(value) -> ::Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget
Parameter
- value (::Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget) — Cloud Storage target for Discovery. The first target to match a table will be the one applied.
Returns
- (::Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget) — Cloud Storage target for Discovery. The first target to match a table will be the one applied.
#other_cloud_target
def other_cloud_target() -> ::Google::Cloud::Dlp::V2::OtherCloudDiscoveryTarget
Returns
- (::Google::Cloud::Dlp::V2::OtherCloudDiscoveryTarget) — Other clouds target for discovery. The first target to match a resource will be the one applied.
#other_cloud_target=
def other_cloud_target=(value) -> ::Google::Cloud::Dlp::V2::OtherCloudDiscoveryTarget
Parameter
- value (::Google::Cloud::Dlp::V2::OtherCloudDiscoveryTarget) — Other clouds target for discovery. The first target to match a resource will be the one applied.
Returns
- (::Google::Cloud::Dlp::V2::OtherCloudDiscoveryTarget) — Other clouds target for discovery. The first target to match a resource 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.