Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties
- 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
The label and its properties. Each label is associated with a set of properties.
Instance Attribute Summary collapse
-
#label ⇒ String
Required.
-
#properties ⇒ Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties
constructor
A new instance of GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties
Returns a new instance of GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties.
1700 1701 1702 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1700 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label ⇒ String
Required. The name of the label.
Corresponds to the JSON property label
1693 1694 1695 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1693 def label @label end |
#properties ⇒ Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty>
Optional. The properties associated with the label.
Corresponds to the JSON property properties
1698 1699 1700 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1698 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1705 1706 1707 1708 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1705 def update!(**args) @label = args[:label] if args.key?(:label) @properties = args[:properties] if args.key?(:properties) end |