Class: Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1ValueEnumValue
- Inherits:
-
Object
- Object
- Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1ValueEnumValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/resourcesettings_v1/classes.rb,
lib/google/apis/resourcesettings_v1/representations.rb,
lib/google/apis/resourcesettings_v1/representations.rb
Overview
A enum value that can hold any enum type setting values. Each enum type is represented by a number, this representation is stored in the definitions.
Instance Attribute Summary collapse
-
#value ⇒ String
The value of this enum Corresponds to the JSON property
value
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudResourcesettingsV1ValueEnumValue
constructor
A new instance of GoogleCloudResourcesettingsV1ValueEnumValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudResourcesettingsV1ValueEnumValue
Returns a new instance of GoogleCloudResourcesettingsV1ValueEnumValue.
207 208 209 |
# File 'lib/google/apis/resourcesettings_v1/classes.rb', line 207 def initialize(**args) update!(**args) end |
Instance Attribute Details
#value ⇒ String
The value of this enum
Corresponds to the JSON property value
205 206 207 |
# File 'lib/google/apis/resourcesettings_v1/classes.rb', line 205 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
212 213 214 |
# File 'lib/google/apis/resourcesettings_v1/classes.rb', line 212 def update!(**args) @value = args[:value] if args.key?(:value) end |