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 \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ big_query_target
Google\Cloud\Dlp\V2\BigQueryDiscoveryTarget
BigQuery target for Discovery. The first target to match a table will be the one applied.
↳ cloud_sql_target
Google\Cloud\Dlp\V2\CloudSqlDiscoveryTarget
Cloud SQL target for Discovery. The first target to match a table will be the one applied.
↳ secrets_target
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.
getBigQueryTarget
BigQuery target for Discovery. The first target to match a table will be the one applied.
hasBigQueryTarget
setBigQueryTarget
BigQuery target for Discovery. The first target to match a table will be the one applied.
$this
getCloudSqlTarget
Cloud SQL target for Discovery. The first target to match a table will be the one applied.
hasCloudSqlTarget
setCloudSqlTarget
Cloud SQL target for Discovery. The first target to match a table will be the one applied.
$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.
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.
$this
getTarget
string