Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Represents the spec to match discrete values from parent parameter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition

Returns a new instance of GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition.



30690
30691
30692
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30690

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

Instance Attribute Details

#valuesArray<Float>

Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter. The Epsilon of the value matching is 1e-10. Corresponds to the JSON property values

Returns:

  • (Array<Float>)


30688
30689
30690
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30688

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30695
30696
30697
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30695

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