Data Loss Prevention V2 Client - Class LogToBigQuery (2.15.2)

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

Configuration for logging content policy actions to BigQuery.

Generated from protobuf message google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQuery

Namespace

Google \ Cloud \ Dlp \ V2 \ ContentPolicy \ LoggingConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ project_id string

Required. The ID of the project containing the BigQuery table to write to.

↳ dataset_id string

Required. The ID of the dataset containing the BigQuery table to write to.

↳ table_id string

Required. The ID of the BigQuery table to write to.

getProjectId

Required. The ID of the project containing the BigQuery table to write to.

Returns
Type Description
string

setProjectId

Required. The ID of the project containing the BigQuery table to write to.

Parameter
Name Description
var string
Returns
Type Description
$this

getDatasetId

Required. The ID of the dataset containing the BigQuery table to write to.

Returns
Type Description
string

setDatasetId

Required. The ID of the dataset containing the BigQuery table to write to.

Parameter
Name Description
var string
Returns
Type Description
$this

getTableId

Required. The ID of the BigQuery table to write to.

Returns
Type Description
string

setTableId

Required. The ID of the BigQuery table to write to.

Parameter
Name Description
var string
Returns
Type Description
$this