Class: Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec

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 integer values from parent parameter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec

Returns a new instance of GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec.



312
313
314
# File 'generated/google/apis/ml_v1/classes.rb', line 312

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

Instance Attribute Details

#valuesArray<Fixnum>

Matches values of the parent parameter with type 'INTEGER'. All values must lie in integer_value_spec of parent parameter. Corresponds to the JSON property values

Returns:

  • (Array<Fixnum>)


310
311
312
# File 'generated/google/apis/ml_v1/classes.rb', line 310

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



317
318
319
# File 'generated/google/apis/ml_v1/classes.rb', line 317

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