Class: Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec
- 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 ⇒ Fixnum
Must be specified if type is
INTEGER
. -
#min_value ⇒ Fixnum
Must be specified if type is
INTEGER
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec
constructor
A new instance of GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec
Returns a new instance of GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec.
251 252 253 |
# File 'generated/google/apis/ml_v1/classes.rb', line 251 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_value ⇒ Fixnum
Must be specified if type is INTEGER
. Maximum value of the parameter.
Corresponds to the JSON property maxValue
244 245 246 |
# File 'generated/google/apis/ml_v1/classes.rb', line 244 def max_value @max_value end |
#min_value ⇒ Fixnum
Must be specified if type is INTEGER
. Minimum value of the parameter.
Corresponds to the JSON property minValue
249 250 251 |
# File 'generated/google/apis/ml_v1/classes.rb', line 249 def min_value @min_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
256 257 258 259 |
# File 'generated/google/apis/ml_v1/classes.rb', line 256 def update!(**args) @max_value = args[:max_value] if args.key?(:max_value) @min_value = args[:min_value] if args.key?(:min_value) end |