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

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

setType

Type of this table.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDataplexTable

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

Returns
TypeDescription
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
NameDescription
var Google\Cloud\DataCatalog\V1\DataplexTableSpec
Returns
TypeDescription
$this

getDatabaseViewSpec

Spec what aplies to tables that are actually views.

Not set for "real" tables.

Returns
TypeDescription
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
NameDescription
var Google\Cloud\DataCatalog\V1\DatabaseTableSpec\DatabaseViewSpec
Returns
TypeDescription
$this