Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DiscoveryTarget (v1.8.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
  • (::Google::Cloud::Dlp::V2::BigQueryDiscoveryTarget) — BigQuery target for Discovery. The first target to match a table will be the one applied.

    Note: The following fields are mutually exclusive: big_query_target, cloud_sql_target, secrets_target, cloud_storage_target, other_cloud_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: big_query_target, cloud_sql_target, secrets_target, cloud_storage_target, other_cloud_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::BigQueryDiscoveryTarget) — BigQuery target for Discovery. The first target to match a table will be the one applied.

    Note: The following fields are mutually exclusive: big_query_target, cloud_sql_target, secrets_target, cloud_storage_target, other_cloud_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: cloud_sql_target, big_query_target, secrets_target, cloud_storage_target, other_cloud_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: cloud_sql_target, big_query_target, secrets_target, cloud_storage_target, other_cloud_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::CloudSqlDiscoveryTarget) — Cloud SQL target for Discovery. The first target to match a table will be the one applied.

    Note: The following fields are mutually exclusive: cloud_sql_target, big_query_target, secrets_target, cloud_storage_target, other_cloud_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: cloud_storage_target, big_query_target, cloud_sql_target, secrets_target, other_cloud_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: cloud_storage_target, big_query_target, cloud_sql_target, secrets_target, other_cloud_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget) — Cloud Storage target for Discovery. The first target to match a table will be the one applied.

    Note: The following fields are mutually exclusive: cloud_storage_target, big_query_target, cloud_sql_target, secrets_target, other_cloud_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: other_cloud_target, big_query_target, cloud_sql_target, secrets_target, cloud_storage_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: other_cloud_target, big_query_target, cloud_sql_target, secrets_target, cloud_storage_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::OtherCloudDiscoveryTarget) — Other clouds target for discovery. The first target to match a resource will be the one applied.

    Note: The following fields are mutually exclusive: other_cloud_target, big_query_target, cloud_sql_target, secrets_target, cloud_storage_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: secrets_target, big_query_target, cloud_sql_target, cloud_storage_target, other_cloud_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: secrets_target, big_query_target, cloud_sql_target, cloud_storage_target, other_cloud_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

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.

    Note: The following fields are mutually exclusive: secrets_target, big_query_target, cloud_sql_target, cloud_storage_target, other_cloud_target, vertex_dataset_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

#vertex_dataset_target

def vertex_dataset_target() -> ::Google::Cloud::Dlp::V2::VertexDatasetDiscoveryTarget
Returns
  • (::Google::Cloud::Dlp::V2::VertexDatasetDiscoveryTarget) — Vertex AI dataset target for Discovery. The first target to match a dataset will be the one applied. Note that discovery for Vertex AI can incur Cloud Storage Class B operation charges for storage.objects.get operations and retrieval fees. For more information, see Cloud Storage pricing. Note that discovery for Vertex AI dataset will not be able to scan images unless DiscoveryConfig.processing_location.image_fallback_location has multi_region_processing or global_processing configured.

    Note: The following fields are mutually exclusive: vertex_dataset_target, big_query_target, cloud_sql_target, secrets_target, cloud_storage_target, other_cloud_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

#vertex_dataset_target=

def vertex_dataset_target=(value) -> ::Google::Cloud::Dlp::V2::VertexDatasetDiscoveryTarget
Parameter
  • value (::Google::Cloud::Dlp::V2::VertexDatasetDiscoveryTarget) — Vertex AI dataset target for Discovery. The first target to match a dataset will be the one applied. Note that discovery for Vertex AI can incur Cloud Storage Class B operation charges for storage.objects.get operations and retrieval fees. For more information, see Cloud Storage pricing. Note that discovery for Vertex AI dataset will not be able to scan images unless DiscoveryConfig.processing_location.image_fallback_location has multi_region_processing or global_processing configured.

    Note: The following fields are mutually exclusive: vertex_dataset_target, big_query_target, cloud_sql_target, secrets_target, cloud_storage_target, other_cloud_target. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::VertexDatasetDiscoveryTarget) — Vertex AI dataset target for Discovery. The first target to match a dataset will be the one applied. Note that discovery for Vertex AI can incur Cloud Storage Class B operation charges for storage.objects.get operations and retrieval fees. For more information, see Cloud Storage pricing. Note that discovery for Vertex AI dataset will not be able to scan images unless DiscoveryConfig.processing_location.image_fallback_location has multi_region_processing or global_processing configured.

    Note: The following fields are mutually exclusive: vertex_dataset_target, big_query_target, cloud_sql_target, secrets_target, cloud_storage_target, other_cloud_target. If a field in that set is populated, all other fields in the set will automatically be cleared.