Class: Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#valuesArray<String>

Must be specified if type is CATEGORICAL. The list of possible categories. Corresponds to the JSON property values

Returns:

  • (Array<String>)


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