Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class DataplexSpec.
Common Dataplex fields.
Generated from protobuf messagegoogle.cloud.datacatalog.v1.DataplexSpec
Namespace
Google \ Cloud \ DataCatalog \ V1
Methods
__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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Data Catalog V1 Client - Class DataplexSpec (2.3.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.2 (latest)](/php/docs/reference/cloud-data-catalog/latest/V1.DataplexSpec)\n- [2.3.1](/php/docs/reference/cloud-data-catalog/2.3.1/V1.DataplexSpec)\n- [2.2.4](/php/docs/reference/cloud-data-catalog/2.2.4/V1.DataplexSpec)\n- [2.1.0](/php/docs/reference/cloud-data-catalog/2.1.0/V1.DataplexSpec)\n- [2.0.2](/php/docs/reference/cloud-data-catalog/2.0.2/V1.DataplexSpec)\n- [1.10.3](/php/docs/reference/cloud-data-catalog/1.10.3/V1.DataplexSpec)\n- [1.9.1](/php/docs/reference/cloud-data-catalog/1.9.1/V1.DataplexSpec)\n- [1.8.2](/php/docs/reference/cloud-data-catalog/1.8.2/V1.DataplexSpec)\n- [1.7.1](/php/docs/reference/cloud-data-catalog/1.7.1/V1.DataplexSpec)\n- [1.6.0](/php/docs/reference/cloud-data-catalog/1.6.0/V1.DataplexSpec)\n- [1.5.1](/php/docs/reference/cloud-data-catalog/1.5.1/V1.DataplexSpec)\n- [1.4.2](/php/docs/reference/cloud-data-catalog/1.4.2/V1.DataplexSpec)\n- [1.3.9](/php/docs/reference/cloud-data-catalog/1.3.9/V1.DataplexSpec) \nReference documentation and code samples for the Google Cloud Data Catalog V1 Client class DataplexSpec.\n\nCommon Dataplex fields.\n\nGenerated from protobuf message `google.cloud.datacatalog.v1.DataplexSpec`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DataCatalog \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAsset\n\nFully qualified resource name of an asset in Dataplex, to which the\nunderlying data source (Cloud Storage bucket or BigQuery dataset) of the\nentity is attached.\n\n### setAsset\n\nFully qualified resource name of an asset in Dataplex, to which the\nunderlying data source (Cloud Storage bucket or BigQuery dataset) of the\nentity is attached.\n\n### getDataFormat\n\nFormat of the data.\n\n### hasDataFormat\n\n### clearDataFormat\n\n### setDataFormat\n\nFormat of the data.\n\n### getCompressionFormat\n\nCompression format of the data, e.g., zip, gzip etc.\n\n### setCompressionFormat\n\nCompression format of the data, e.g., zip, gzip etc.\n\n### getProjectId\n\nProject ID of the underlying Cloud Storage or BigQuery data. Note that\nthis may not be the same project as the correspondingly Dataplex lake /\nzone / asset.\n\n### setProjectId\n\nProject ID of the underlying Cloud Storage or BigQuery data. Note that\nthis may not be the same project as the correspondingly Dataplex lake /\nzone / asset."]]