Google Cloud Data Catalog V1 Client - Class DatabaseTableSpec (1.10.1)

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

Specification that applies to a table resource. Valid only for entries with the TABLE type.

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

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Type of this table.

↳ dataplex_table Google\Cloud\DataCatalog\V1\DataplexTableSpec

Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.

↳ database_view_spec Google\Cloud\DataCatalog\V1\DatabaseTableSpec\DatabaseViewSpec

Spec what aplies to tables that are actually views. Not set for "real" tables.

getType

Type of this table.

Returns
Type Description
int

setType

Type of this table.

Parameter
Name Description
var int
Returns
Type Description
$this

getDataplexTable

Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.

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

hasDataplexTable

clearDataplexTable

setDataplexTable

Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.

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

getDatabaseViewSpec

Spec what aplies to tables that are actually views.

Not set for "real" tables.

Returns
Type Description
Google\Cloud\DataCatalog\V1\DatabaseTableSpec\DatabaseViewSpec|null

hasDatabaseViewSpec

clearDatabaseViewSpec

setDatabaseViewSpec

Spec what aplies to tables that are actually views.

Not set for "real" tables.

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