Data Loss Prevention V2 Client - Class DiscoveryBigQueryConditions (1.11.0)

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
NameDescription
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
TypeDescription
Google\Protobuf\Timestamp|null

hasCreatedAfter

clearCreatedAfter

setCreatedAfter

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getTypes

Restrict discovery to specific table types.

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

hasTypes

setTypes

Restrict discovery to specific table types.

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

getTypeCollection

Restrict discovery to categories of table types.

Returns
TypeDescription
int

hasTypeCollection

setTypeCollection

Restrict discovery to categories of table types.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getOrConditions

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

Returns
TypeDescription
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
NameDescription
var Google\Cloud\Dlp\V2\DiscoveryBigQueryConditions\OrConditions
Returns
TypeDescription
$this

getIncludedTypes

Returns
TypeDescription
string