Google Cloud Retail V2 Client - Class BigQueryDestination (2.1.2)

Reference documentation and code samples for the Google Cloud Retail V2 Client class BigQueryDestination.

The BigQuery output destination configuration.

Generated from protobuf message google.cloud.retail.v2.OutputConfig.BigQueryDestination

Namespace

Google \ Cloud \ Retail \ V2 \ OutputConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ dataset_id string

Required. The ID of a BigQuery Dataset.

↳ table_id_prefix string

Required. The prefix of exported BigQuery tables.

↳ table_type string

Required. Describes the table type. The following values are supported: * * table: A BigQuery native table. * * view: A virtual table defined by a SQL query.

getDatasetId

Required. The ID of a BigQuery Dataset.

Returns
Type Description
string

setDatasetId

Required. The ID of a BigQuery Dataset.

Parameter
Name Description
var string
Returns
Type Description
$this

getTableIdPrefix

Required. The prefix of exported BigQuery tables.

Returns
Type Description
string

setTableIdPrefix

Required. The prefix of exported BigQuery tables.

Parameter
Name Description
var string
Returns
Type Description
$this

getTableType

Required. Describes the table type. The following values are supported:

  • table: A BigQuery native table.

  • view: A virtual table defined by a SQL query.

Returns
Type Description
string

setTableType

Required. Describes the table type. The following values are supported:

  • table: A BigQuery native table.

  • view: A virtual table defined by a SQL query.

Parameter
Name Description
var string
Returns
Type Description
$this