Data Loss Prevention V2 Client - Class DiscoveryTarget (1.14.0)

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

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

getTarget

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