Google Cloud Data Catalog V1 Client - Class DataplexSpec (1.3.9)

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

Common Dataplex fields.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ asset string

Fully qualified resource name of an asset in Dataplex, to which the underlying data source (Cloud Storage bucket or BigQuery dataset) of the entity is attached.

↳ data_format Google\Cloud\DataCatalog\V1\PhysicalSchema

Format of the data.

↳ compression_format string

Compression format of the data, e.g., zip, gzip etc.

↳ project_id string

Project ID of the underlying Cloud Storage or BigQuery data. Note that this may not be the same project as the correspondingly Dataplex lake / zone / asset.

getAsset

Fully qualified resource name of an asset in Dataplex, to which the underlying data source (Cloud Storage bucket or BigQuery dataset) of the entity is attached.

Returns
TypeDescription
string

setAsset

Fully qualified resource name of an asset in Dataplex, to which the underlying data source (Cloud Storage bucket or BigQuery dataset) of the entity is attached.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataFormat

Format of the data.

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

hasDataFormat

clearDataFormat

setDataFormat

Format of the data.

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

getCompressionFormat

Compression format of the data, e.g., zip, gzip etc.

Returns
TypeDescription
string

setCompressionFormat

Compression format of the data, e.g., zip, gzip etc.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProjectId

Project ID of the underlying Cloud Storage or BigQuery data. Note that this may not be the same project as the correspondingly Dataplex lake / zone / asset.

Returns
TypeDescription
string

setProjectId

Project ID of the underlying Cloud Storage or BigQuery data. Note that this may not be the same project as the correspondingly Dataplex lake / zone / asset.

Parameter
NameDescription
var string
Returns
TypeDescription
$this