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

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
NameDescription
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
TypeDescription
int

setTableSourceType

Output only. The table source type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getViewSpec

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

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\ViewSpec|null

hasViewSpec

setViewSpec

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

Parameter
NameDescription
var Google\Cloud\DataCatalog\V1\ViewSpec
Returns
TypeDescription
$this

getTableSpec

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

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\TableSpec|null

hasTableSpec

setTableSpec

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

Parameter
NameDescription
var Google\Cloud\DataCatalog\V1\TableSpec
Returns
TypeDescription
$this

getTypeSpec

Returns
TypeDescription
string