Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DatabaseTableSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datacatalog_v1/classes.rb,
lib/google/apis/datacatalog_v1/representations.rb,
lib/google/apis/datacatalog_v1/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.



582
583
584
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 582

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

Instance Attribute Details

#dataplex_tableGoogle::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataplexTableSpec

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



575
576
577
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 575

def dataplex_table
  @dataplex_table
end

#typeString

Type of this table. Corresponds to the JSON property type

Returns:

  • (String)


580
581
582
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 580

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



587
588
589
590
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 587

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