Data Loss Prevention V2 Client - Class BigQueryField (1.8.6)

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

Message defining a field of a BigQuery table.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ table Google\Cloud\Dlp\V2\BigQueryTable

Source table of the field.

↳ field Google\Cloud\Dlp\V2\FieldId

Designated field in the BigQuery table.

getTable

Source table of the field.

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

hasTable

clearTable

setTable

Source table of the field.

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

getField

Designated field in the BigQuery table.

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

hasField

clearField

setField

Designated field in the BigQuery table.

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