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
Namespace
Google \ Cloud \ DataCatalog \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDataFormat
Format of the data.
Returns | |
---|---|
Type | Description |
Google\Cloud\DataCatalog\V1\PhysicalSchema|null |
hasDataFormat
clearDataFormat
setDataFormat
Format of the data.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DataCatalog\V1\PhysicalSchema
|
Returns | |
---|---|
Type | Description |
$this |
getCompressionFormat
Compression format of the data, e.g., zip, gzip etc.
Returns | |
---|---|
Type | Description |
string |
setCompressionFormat
Compression format of the data, e.g., zip, gzip etc.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |