Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition

Returns a new instance of GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition.



30669
30670
30671
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30669

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

Instance Attribute Details

#valuesArray<String>

Required. Matches values of the parent parameter of 'CATEGORICAL' type. All values must exist in categorical_value_spec of parent parameter. Corresponds to the JSON property values

Returns:

  • (Array<String>)


30667
30668
30669
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30667

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30674
30675
30676
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30674

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