Google Cloud Ai Platform V1 Client - Class ConditionalParameterSpec (0.39.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
Name Description
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
Type Description
Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\DiscreteValueCondition|null

hasParentDiscreteValues

setParentDiscreteValues

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

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\DiscreteValueCondition
Returns
Type Description
$this

getParentIntValues

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

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

hasParentIntValues

setParentIntValues

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

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\IntValueCondition
Returns
Type Description
$this

getParentCategoricalValues

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

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

hasParentCategoricalValues

setParentCategoricalValues

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

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\CategoricalValueCondition
Returns
Type Description
$this

getParameterSpec

Required. The spec for a conditional parameter.

Returns
Type Description
Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec|null

hasParameterSpec

clearParameterSpec

setParameterSpec

Required. The spec for a conditional parameter.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec
Returns
Type Description
$this

getParentValueCondition

Returns
Type Description
string