Data Loss Prevention V2 Client - Class BigQueryDiscoveryTarget (1.12.0)

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

Target used to match against for discovery with BigQuery tables

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ filter Google\Cloud\Dlp\V2\DiscoveryBigQueryFilter

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

↳ conditions Google\Cloud\Dlp\V2\DiscoveryBigQueryConditions

In addition to matching the filter, these conditions must be true before a profile is generated.

↳ cadence Google\Cloud\Dlp\V2\DiscoveryGenerationCadence

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

↳ disabled Google\Cloud\Dlp\V2\Disabled

Tables that match this filter will not have profiles created.

getFilter

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

Returns
TypeDescription
Google\Cloud\Dlp\V2\DiscoveryBigQueryFilter|null

hasFilter

clearFilter

setFilter

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\DiscoveryBigQueryFilter
Returns
TypeDescription
$this

getConditions

In addition to matching the filter, these conditions must be true before a profile is generated.

Returns
TypeDescription
Google\Cloud\Dlp\V2\DiscoveryBigQueryConditions|null

hasConditions

clearConditions

setConditions

In addition to matching the filter, these conditions must be true before a profile is generated.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\DiscoveryBigQueryConditions
Returns
TypeDescription
$this

getCadence

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

Returns
TypeDescription
Google\Cloud\Dlp\V2\DiscoveryGenerationCadence|null

hasCadence

setCadence

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\DiscoveryGenerationCadence
Returns
TypeDescription
$this

getDisabled

Tables that match this filter will not have profiles created.

Returns
TypeDescription
Google\Cloud\Dlp\V2\Disabled|null

hasDisabled

setDisabled

Tables that match this filter will not have profiles created.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\Disabled
Returns
TypeDescription
$this

getFrequency

Returns
TypeDescription
string