Class: Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec
- 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
-
#values ⇒ Array<Float>
Matches values of the parent parameter with type 'DISCRETE'.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec
constructor
A new instance of GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#values ⇒ Array<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
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 |