Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty

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

A property declaration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty

Returns a new instance of GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty.



1725
1726
1727
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1725

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

Instance Attribute Details

#nameString

Required. Property name. Corresponds to the JSON property name

Returns:

  • (String)


1718
1719
1720
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1718

def name
  @name
end

#typeString

Required. Property data type. Corresponds to the JSON property type

Returns:

  • (String)


1723
1724
1725
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1723

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1730
1731
1732
1733
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1730

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