Google Cloud Data Catalog V1 Client - Class BigQueryTableSpec (2.0.0)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class BigQueryTableSpec.

Describes a BigQuery table.

Generated from protobuf message google.cloud.datacatalog.v1.BigQueryTableSpec

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ table_source_type int

Output only. The table source type.

↳ view_spec Google\Cloud\DataCatalog\V1\ViewSpec

Table view specification. Populated only if the table_source_type is BIGQUERY_VIEW.

↳ table_spec Google\Cloud\DataCatalog\V1\TableSpec

Specification of a BigQuery table. Populated only if the table_source_type is BIGQUERY_TABLE.

getTableSourceType

Output only. The table source type.

Returns
Type Description
int

setTableSourceType

Output only. The table source type.

Parameter
Name Description
var int
Returns
Type Description
$this

getViewSpec

Table view specification. Populated only if the table_source_type is BIGQUERY_VIEW.

Returns
Type Description
Google\Cloud\DataCatalog\V1\ViewSpec|null

hasViewSpec

setViewSpec

Table view specification. Populated only if the table_source_type is BIGQUERY_VIEW.

Parameter
Name Description
var Google\Cloud\DataCatalog\V1\ViewSpec
Returns
Type Description
$this

getTableSpec

Specification of a BigQuery table. Populated only if the table_source_type is BIGQUERY_TABLE.

Returns
Type Description
Google\Cloud\DataCatalog\V1\TableSpec|null

hasTableSpec

setTableSpec

Specification of a BigQuery table. Populated only if the table_source_type is BIGQUERY_TABLE.

Parameter
Name Description
var Google\Cloud\DataCatalog\V1\TableSpec
Returns
Type Description
$this

getTypeSpec

Returns
Type Description
string