Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1DatabaseTableSpec

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

Specification that applies to a table resource. Valid only for entries with the TABLE type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1DatabaseTableSpec

Returns a new instance of GoogleCloudDatacatalogV1DatabaseTableSpec.



770
771
772
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 770

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

Instance Attribute Details

#database_view_specGoogle::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec

Specification that applies to database view. Corresponds to the JSON property databaseViewSpec



758
759
760
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 758

def database_view_spec
  @database_view_spec
end

#dataplex_tableGoogle::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1DataplexTableSpec

Entry specification for a Dataplex table. Corresponds to the JSON property dataplexTable



763
764
765
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 763

def dataplex_table
  @dataplex_table
end

#typeString

Type of this table. Corresponds to the JSON property type

Returns:

  • (String)


768
769
770
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 768

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



775
776
777
778
779
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 775

def update!(**args)
  @database_view_spec = args[:database_view_spec] if args.key?(:database_view_spec)
  @dataplex_table = args[:dataplex_table] if args.key?(:dataplex_table)
  @type = args[:type] if args.key?(:type)
end