Google Cloud Ai Platform V1 Client - Class ConditionalParameterSpec (0.10.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ConditionalParameterSpec.

Represents a parameter spec with condition from its parent parameter.

Generated from protobuf message google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent_discrete_values Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\DiscreteValueCondition

The spec for matching values from a parent parameter of DISCRETE type.

↳ parent_int_values Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\IntValueCondition

The spec for matching values from a parent parameter of INTEGER type.

↳ parent_categorical_values Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\CategoricalValueCondition

The spec for matching values from a parent parameter of CATEGORICAL type.

↳ parameter_spec Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec

Required. The spec for a conditional parameter.

getParentDiscreteValues

The spec for matching values from a parent parameter of DISCRETE type.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\DiscreteValueCondition|null

hasParentDiscreteValues

setParentDiscreteValues

The spec for matching values from a parent parameter of DISCRETE type.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\DiscreteValueCondition
Returns
TypeDescription
$this

getParentIntValues

The spec for matching values from a parent parameter of INTEGER type.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\IntValueCondition|null

hasParentIntValues

setParentIntValues

The spec for matching values from a parent parameter of INTEGER type.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\IntValueCondition
Returns
TypeDescription
$this

getParentCategoricalValues

The spec for matching values from a parent parameter of CATEGORICAL type.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\CategoricalValueCondition|null

hasParentCategoricalValues

setParentCategoricalValues

The spec for matching values from a parent parameter of CATEGORICAL type.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\CategoricalValueCondition
Returns
TypeDescription
$this

getParameterSpec

Required. The spec for a conditional parameter.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec|null

hasParameterSpec

clearParameterSpec

setParameterSpec

Required. The spec for a conditional parameter.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec
Returns
TypeDescription
$this

getParentValueCondition

Returns
TypeDescription
string