Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty
- 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
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.
1563 1564 1565 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. Property name.
Corresponds to the JSON property name
1556 1557 1558 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1556 def name @name end |
#type ⇒ String
Required. Property data type.
Corresponds to the JSON property type
1561 1562 1563 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1561 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1568 1569 1570 1571 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1568 def update!(**args) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end |