Google Cloud Ai Platform V1 Client - Class ConditionalParameterSpec (0.24.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

Namespace

Google \ Cloud \ AIPlatform \ V1 \ StudySpec \ ParameterSpec

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.

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.

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.

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.

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.

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.

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

getParameterSpec

Required. The spec for a conditional parameter.

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

hasParameterSpec

clearParameterSpec

setParameterSpec

Required. The spec for a conditional parameter.

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

getParentValueCondition

Returns
TypeDescription
string