# Data Catalog V1 API - Class Google::Cloud::DataCatalog::V1::DataplexSpec (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.0 2.5.1 2.4.0 2.3.1 2.2.2 2.1.1 2.0.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.23.0 0.22.0 0.21.2 0.20.1 0.19.0 0.18.1 0.17.0 0.16.1 0.15.0 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 Reference documentation and code samples for the Data Catalog V1 API class Google::Cloud::DataCatalog::V1::DataplexSpec.

Common Dataplex fields.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #asset

    def asset() -> ::String

**Returns**

- (::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.

### #asset=

    def asset=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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

    def compression_format() -> ::String

**Returns**

- (::String) --- Compression format of the data, e.g., zip, gzip etc.

### #compression_format=

    def compression_format=(value) -> ::String

**Parameter**

- **value** (::String) --- Compression format of the data, e.g., zip, gzip etc.
**Returns**

- (::String) --- Compression format of the data, e.g., zip, gzip etc.

### #data_format

    def data_format() -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema

**Returns**

- ([::Google::Cloud::DataCatalog::V1::PhysicalSchema](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-v1/latest/Google-Cloud-DataCatalog-V1-PhysicalSchema)) --- Format of the data.

### #data_format=

    def data_format=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema

**Parameter**

- **value** ([::Google::Cloud::DataCatalog::V1::PhysicalSchema](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-v1/latest/Google-Cloud-DataCatalog-V1-PhysicalSchema)) --- Format of the data.
**Returns**

- ([::Google::Cloud::DataCatalog::V1::PhysicalSchema](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-v1/latest/Google-Cloud-DataCatalog-V1-PhysicalSchema)) --- Format of the data.

### #project_id

    def project_id() -> ::String

**Returns**

- (::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.

### #project_id=

    def project_id=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.