Class: Google::Apis::ApihubV1::GoogleCloudApihubV1EnumAttributeValues
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1EnumAttributeValues
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb
Overview
The attribute values of data type enum.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1EnumAttributeValues
constructor
A new instance of GoogleCloudApihubV1EnumAttributeValues.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1EnumAttributeValues
Returns a new instance of GoogleCloudApihubV1EnumAttributeValues.
2225 2226 2227 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Array<Google::Apis::ApihubV1::GoogleCloudApihubV1AllowedValue>
Required. The attribute values in case attribute data type is enum.
Corresponds to the JSON property values
2223 2224 2225 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2223 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2230 2231 2232 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2230 def update!(**args) @values = args[:values] if args.key?(:values) end |