Data Loss Prevention V2 Client - Class BigQueryField (2.2.0)

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\Dlp\V2\BigQueryTable|null

hasTable

clearTable

setTable

Source table of the field.

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

getField

Designated field in the BigQuery table.

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

hasField

clearField

setField

Designated field in the BigQuery table.

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