Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec.
Represents a parameter spec with condition from its parent parameter.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parameter_spec
def parameter_spec() -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec
Returns
- (::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec) — Required. The spec for a conditional parameter.
#parameter_spec=
def parameter_spec=(value) -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec
Parameter
- value (::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec) — Required. The spec for a conditional parameter.
Returns
- (::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec) — Required. The spec for a conditional parameter.
#parent_categorical_values
def parent_categorical_values() -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::CategoricalValueCondition
Returns
-
(::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::CategoricalValueCondition) — The spec for matching values from a parent parameter of
CATEGORICAL
type.
#parent_categorical_values=
def parent_categorical_values=(value) -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::CategoricalValueCondition
Parameter
-
value (::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::CategoricalValueCondition) — The spec for matching values from a parent parameter of
CATEGORICAL
type.
Returns
-
(::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::CategoricalValueCondition) — The spec for matching values from a parent parameter of
CATEGORICAL
type.
#parent_discrete_values
def parent_discrete_values() -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::DiscreteValueCondition
Returns
-
(::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::DiscreteValueCondition) — The spec for matching values from a parent parameter of
DISCRETE
type.
#parent_discrete_values=
def parent_discrete_values=(value) -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::DiscreteValueCondition
Parameter
-
value (::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::DiscreteValueCondition) — The spec for matching values from a parent parameter of
DISCRETE
type.
Returns
-
(::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::DiscreteValueCondition) — The spec for matching values from a parent parameter of
DISCRETE
type.
#parent_int_values
def parent_int_values() -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::IntValueCondition
Returns
-
(::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::IntValueCondition) — The spec for matching values from a parent parameter of
INTEGER
type.
#parent_int_values=
def parent_int_values=(value) -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::IntValueCondition
Parameter
-
value (::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::IntValueCondition) — The spec for matching values from a parent parameter of
INTEGER
type.
Returns
-
(::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::IntValueCondition) — The spec for matching values from a parent parameter of
INTEGER
type.