Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Parameter.
A message representing a parameter to be tuned.
Generated from protobuf message google.cloud.aiplatform.v1.Trial.Parameter
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parameter_id |
string
Output only. The ID of the parameter. The parameter should be defined in StudySpec's Parameters. |
↳ value |
Google\Protobuf\Value
Output only. The value of the parameter. |
getParameterId
Output only. The ID of the parameter. The parameter should be defined in StudySpec's Parameters.
Generated from protobuf field string parameter_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
string |
setParameterId
Output only. The ID of the parameter. The parameter should be defined in StudySpec's Parameters.
Generated from protobuf field string parameter_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Output only. The value of the parameter.
number_value
will be set if a parameter defined in StudySpec is
in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.
string_value
will be set if a parameter defined in StudySpec is
in type 'CATEGORICAL'.
Generated from protobuf field .google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Value|null |
hasValue
clearValue
setValue
Output only. The value of the parameter.
number_value
will be set if a parameter defined in StudySpec is
in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.
string_value
will be set if a parameter defined in StudySpec is
in type 'CATEGORICAL'.
Generated from protobuf field .google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Value
|
Returns | |
---|---|
Type | Description |
$this |