Class: Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec

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) ⇒ 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_valueFixnum

Must be specified if type is INTEGER. Maximum value of the parameter. Corresponds to the JSON property maxValue

Returns:

  • (Fixnum)


244
245
246
# File 'generated/google/apis/ml_v1/classes.rb', line 244

def max_value
  @max_value
end

#min_valueFixnum

Must be specified if type is INTEGER. Minimum value of the parameter. Corresponds to the JSON property minValue

Returns:

  • (Fixnum)


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