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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec

Returns a new instance of GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec.



328
329
330
# File 'generated/google/apis/ml_v1/classes.rb', line 328

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


326
327
328
# File 'generated/google/apis/ml_v1/classes.rb', line 326

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



333
334
335
# File 'generated/google/apis/ml_v1/classes.rb', line 333

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