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.



404
405
406
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 404

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

Instance Attribute Details

#typeString

Type of this table. Corresponds to the JSON property type

Returns:

  • (String)


402
403
404
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 402

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



409
410
411
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 409

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