Class: Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/ml_v1/classes.rb,
generated/google/apis/ml_v1/representations.rb,
generated/google/apis/ml_v1/representations.rb
Instance Attribute Summary collapse
-
#values ⇒ Array<String>
Must be specified if type is
CATEGORICAL
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec
constructor
A new instance of GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec
Returns a new instance of GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec.
195 196 197 |
# File 'generated/google/apis/ml_v1/classes.rb', line 195 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Array<String>
Must be specified if type is CATEGORICAL
.
The list of possible categories.
Corresponds to the JSON property values
193 194 195 |
# File 'generated/google/apis/ml_v1/classes.rb', line 193 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
200 201 202 |
# File 'generated/google/apis/ml_v1/classes.rb', line 200 def update!(**args) @values = args[:values] if args.key?(:values) end |