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

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

Represents the spec to match categorical values from parent parameter.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ values array

Required. Matches values of the parent parameter of 'CATEGORICAL' type. All values must exist in categorical_value_spec of parent parameter.

getValues

Required. Matches values of the parent parameter of 'CATEGORICAL' type.

All values must exist in categorical_value_spec of parent parameter.

Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValues

Required. Matches values of the parent parameter of 'CATEGORICAL' type.

All values must exist in categorical_value_spec of parent parameter.

Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this