Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1DataplexSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb

Overview

Common Dataplex fields.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1DataplexSpec

Returns a new instance of GoogleCloudDatacatalogV1DataplexSpec.



852
853
854
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 852

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#assetString

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. Corresponds to the JSON property asset

Returns:

  • (String)


832
833
834
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 832

def asset
  @asset
end

#compression_formatString

Compression format of the data, e.g., zip, gzip etc. Corresponds to the JSON property compressionFormat

Returns:

  • (String)


837
838
839
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 837

def compression_format
  @compression_format
end

#data_formatGoogle::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchema

Native schema used by a resource represented as an entry. Used by query engines for deserializing and parsing source data. Corresponds to the JSON property dataFormat



843
844
845
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 843

def data_format
  @data_format
end

#project_idString

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. Corresponds to the JSON property projectId

Returns:

  • (String)


850
851
852
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 850

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



857
858
859
860
861
862
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 857

def update!(**args)
  @asset = args[:asset] if args.key?(:asset)
  @compression_format = args[:compression_format] if args.key?(:compression_format)
  @data_format = args[:data_format] if args.key?(:data_format)
  @project_id = args[:project_id] if args.key?(:project_id)
end