Class: Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec

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

Overview

Represents the spec to match discrete values from parent parameter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec

Returns a new instance of GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec.



292
293
294
# File 'generated/google/apis/ml_v1/classes.rb', line 292

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#valuesArray<Float>

Matches values of the parent parameter with type 'DISCRETE'. All values must exist in discrete_value_spec of parent parameter. Corresponds to the JSON property values

Returns:

  • (Array<Float>)


290
291
292
# File 'generated/google/apis/ml_v1/classes.rb', line 290

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



297
298
299
# File 'generated/google/apis/ml_v1/classes.rb', line 297

def update!(**args)
  @values = args[:values] if args.key?(:values)
end