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.
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec
Returns a new instance of GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec.
180 181 182 |
# File 'generated/google/apis/ml_v1/classes.rb', line 180 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
178 179 180 |
# File 'generated/google/apis/ml_v1/classes.rb', line 178 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
185 186 187 |
# File 'generated/google/apis/ml_v1/classes.rb', line 185 def update!(**args) @values = args[:values] if args.key?(:values) end |