Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagFieldEnumValue
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagFieldEnumValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datacatalog_v1beta1/classes.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb
Overview
Holds an enum value.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The display name of the enum value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1TagFieldEnumValue
constructor
A new instance of GoogleCloudDatacatalogV1beta1TagFieldEnumValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1TagFieldEnumValue
Returns a new instance of GoogleCloudDatacatalogV1beta1TagFieldEnumValue.
1403 1404 1405 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1403 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The display name of the enum value.
Corresponds to the JSON property displayName
1401 1402 1403 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1401 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1408 1409 1410 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1408 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) end |