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 | |
---|---|
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 |
↳ parent_int_values |
Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\IntValueCondition
The spec for matching values from a parent parameter of |
↳ parent_categorical_values |
Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\CategoricalValueCondition
The spec for matching values from a parent parameter of |
↳ 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 | |
---|---|
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.
Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;
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.
Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;
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.
Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;
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.
Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;
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.
Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec\ConditionalParameterSpec\CategoricalValueCondition
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec
|
Returns | |
---|---|
Type | Description |
$this |
getParentValueCondition
Returns | |
---|---|
Type | Description |
string |