Data Loss Prevention V2 Client - Class DiscoveryBigQueryConditions (1.13.2)

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

Requirements that must be true before a table is scanned in discovery for the first time. There is an AND relationship between the top-level attributes.

Additionally, minimum conditions with an OR relationship that must be met before Cloud DLP scans a table can be set (like a minimum row count or a minimum table age).

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ created_after Google\Protobuf\Timestamp

BigQuery table must have been created after this date. Used to avoid backfilling.

↳ types Google\Cloud\Dlp\V2\BigQueryTableTypes

Restrict discovery to specific table types.

↳ type_collection int

Restrict discovery to categories of table types.

↳ or_conditions Google\Cloud\Dlp\V2\DiscoveryBigQueryConditions\OrConditions

At least one of the conditions must be true for a table to be scanned.

getCreatedAfter

BigQuery table must have been created after this date. Used to avoid backfilling.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreatedAfter

clearCreatedAfter

setCreatedAfter

BigQuery table must have been created after this date. Used to avoid backfilling.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getTypes

Restrict discovery to specific table types.

Returns
Type Description
Google\Cloud\Dlp\V2\BigQueryTableTypes|null

hasTypes

setTypes

Restrict discovery to specific table types.

Parameter
Name Description
var Google\Cloud\Dlp\V2\BigQueryTableTypes
Returns
Type Description
$this

getTypeCollection

Restrict discovery to categories of table types.

Returns
Type Description
int

hasTypeCollection

setTypeCollection

Restrict discovery to categories of table types.

Parameter
Name Description
var int
Returns
Type Description
$this

getOrConditions

At least one of the conditions must be true for a table to be scanned.

Returns
Type Description
Google\Cloud\Dlp\V2\DiscoveryBigQueryConditions\OrConditions|null

hasOrConditions

clearOrConditions

setOrConditions

At least one of the conditions must be true for a table to be scanned.

Parameter
Name Description
var Google\Cloud\Dlp\V2\DiscoveryBigQueryConditions\OrConditions
Returns
Type Description
$this

getIncludedTypes

Returns
Type Description
string