Data Loss Prevention V2 Client - Class DiscoveryTarget (2.6.1)

Reference documentation and code samples for the Data Loss Prevention V2 Client class DiscoveryTarget.

Target used to match against for Discovery.

Generated from protobuf message google.privacy.dlp.v2.DiscoveryTarget

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ big_query_target
BigQueryDiscoveryTarget

BigQuery target for Discovery. The first target to match a table will be the one applied.

↳ cloud_sql_target
CloudSqlDiscoveryTarget

Cloud SQL target for Discovery. The first target to match a table will be the one applied.

↳ secrets_target
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.

↳ cloud_storage_target
CloudStorageDiscoveryTarget

Cloud Storage target for Discovery. The first target to match a table will be the one applied.

↳ other_cloud_target
OtherCloudDiscoveryTarget

Other clouds target for discovery. The first target to match a resource will be the one applied.

↳ vertex_dataset_target
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.

getBigQueryTarget

BigQuery target for Discovery. The first target to match a table will be the one applied.

Returns
Type
Description

hasBigQueryTarget

setBigQueryTarget

BigQuery target for Discovery. The first target to match a table will be the one applied.

Parameter
Name
Description
Returns
Type
Description
$this

getCloudSqlTarget

Cloud SQL target for Discovery. The first target to match a table will be the one applied.

Returns
Type
Description

hasCloudSqlTarget

setCloudSqlTarget

Cloud SQL target for Discovery. The first target to match a table will be the one applied.

Parameter
Name
Description
Returns
Type
Description
$this

getSecretsTarget

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
Type
Description

hasSecretsTarget

setSecretsTarget

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.

Parameter
Name
Description
Returns
Type
Description
$this

getCloudStorageTarget

Cloud Storage target for Discovery. The first target to match a table will be the one applied.

Returns
Type
Description

hasCloudStorageTarget

setCloudStorageTarget

Cloud Storage target for Discovery. The first target to match a table will be the one applied.

Parameter
Name
Description
Returns
Type
Description
$this

getOtherCloudTarget

Other clouds target for discovery. The first target to match a resource will be the one applied.

Returns
Type
Description

hasOtherCloudTarget

setOtherCloudTarget

Other clouds target for discovery. The first target to match a resource will be the one applied.

Parameter
Name
Description
Returns
Type
Description
$this

getVertexDatasetTarget

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.

Returns
Type
Description

hasVertexDatasetTarget

setVertexDatasetTarget

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.

Parameter
Name
Description
Returns
Type
Description
$this

getTarget

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: