Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty
- 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
-
#name ⇒ String
Required.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty
constructor
A new instance of GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#name ⇒ String
Required. Property name.
Corresponds to the JSON property name
1718 1719 1720 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1718 def name @name end |
#type ⇒ String
Required. Property data type.
Corresponds to the JSON property type
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 |