Google Cloud Data Catalog V1 Client - Class DatabaseTableSpec (2.2.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 DataplexTableSpec

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

↳ database_view_spec 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
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 DataplexTableSpec
Returns
Type Description
$this

getDatabaseViewSpec

Spec what aplies to tables that are actually views.

Not set for "real" tables.

Returns
Type Description
DatabaseTableSpec\DatabaseViewSpec|null

hasDatabaseViewSpec

clearDatabaseViewSpec

setDatabaseViewSpec

Spec what aplies to tables that are actually views.

Not set for "real" tables.

Parameter
Name Description
var DatabaseTableSpec\DatabaseViewSpec
Returns
Type Description
$this