Class: Google::Apis::CloudsearchV1::EnumValues
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnumValues
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
List of enum values.
Instance Attribute Summary collapse
-
#values ⇒ Array<String>
The maximum allowable length for string values is 32 characters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnumValues
constructor
A new instance of EnumValues.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ EnumValues
Returns a new instance of EnumValues
808 809 810 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 808 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Array<String>
The maximum allowable length for string values is 32 characters.
The maximum number of elements is 100.
Corresponds to the JSON property values
806 807 808 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 806 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
813 814 815 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 813 def update!(**args) @values = args[:values] if args.key?(:values) end |