Class: Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec
- 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
-
#max_value ⇒ Float
Must be specified if type is
DOUBLE
. -
#min_value ⇒ Float
Must be specified if type is
DOUBLE
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec
constructor
A new instance of GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec
Returns a new instance of GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec.
226 227 228 |
# File 'generated/google/apis/ml_v1/classes.rb', line 226 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_value ⇒ Float
Must be specified if type is DOUBLE
. Maximum value of the parameter.
Corresponds to the JSON property maxValue
219 220 221 |
# File 'generated/google/apis/ml_v1/classes.rb', line 219 def max_value @max_value end |
#min_value ⇒ Float
Must be specified if type is DOUBLE
. Minimum value of the parameter.
Corresponds to the JSON property minValue
224 225 226 |
# File 'generated/google/apis/ml_v1/classes.rb', line 224 def min_value @min_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
231 232 233 234 |
# File 'generated/google/apis/ml_v1/classes.rb', line 231 def update!(**args) @max_value = args[:max_value] if args.key?(:max_value) @min_value = args[:min_value] if args.key?(:min_value) end |