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 \ ParameterSpecMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent_discrete_values |
ConditionalParameterSpec\DiscreteValueCondition
The spec for matching values from a parent parameter of |
↳ parent_int_values |
ConditionalParameterSpec\IntValueCondition
The spec for matching values from a parent parameter of |
↳ parent_categorical_values |
ConditionalParameterSpec\CategoricalValueCondition
The spec for matching values from a parent parameter of |
↳ parameter_spec |
ParameterSpec
Required. The spec for a conditional parameter. |
getParentDiscreteValues
The spec for matching values from a parent parameter of
DISCRETE
type.
Returns | |
---|---|
Type | Description |
ConditionalParameterSpec\DiscreteValueCondition|null |
hasParentDiscreteValues
setParentDiscreteValues
The spec for matching values from a parent parameter of
DISCRETE
type.
Parameter | |
---|---|
Name | Description |
var |
ConditionalParameterSpec\DiscreteValueCondition
|
Returns | |
---|---|
Type | Description |
$this |
getParentIntValues
The spec for matching values from a parent parameter of INTEGER
type.
Returns | |
---|---|
Type | Description |
ConditionalParameterSpec\IntValueCondition|null |
hasParentIntValues
setParentIntValues
The spec for matching values from a parent parameter of INTEGER
type.
Parameter | |
---|---|
Name | Description |
var |
ConditionalParameterSpec\IntValueCondition
|
Returns | |
---|---|
Type | Description |
$this |
getParentCategoricalValues
The spec for matching values from a parent parameter of
CATEGORICAL
type.
Returns | |
---|---|
Type | Description |
ConditionalParameterSpec\CategoricalValueCondition|null |
hasParentCategoricalValues
setParentCategoricalValues
The spec for matching values from a parent parameter of
CATEGORICAL
type.
Parameter | |
---|---|
Name | Description |
var |
ConditionalParameterSpec\CategoricalValueCondition
|
Returns | |
---|---|
Type | Description |
$this |
getParameterSpec
Required. The spec for a conditional parameter.
Returns | |
---|---|
Type | Description |
ParameterSpec|null |
hasParameterSpec
clearParameterSpec
setParameterSpec
Required. The spec for a conditional parameter.
Parameter | |
---|---|
Name | Description |
var |
ParameterSpec
|
Returns | |
---|---|
Type | Description |
$this |
getParentValueCondition
Returns | |
---|---|
Type | Description |
string |