Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CompleteTrialRequest.
Request message for VizierService.CompleteTrial.
Generated from protobuf message google.cloud.aiplatform.v1.CompleteTrialRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The Trial's name. Format: |
↳ final_measurement |
Google\Cloud\AIPlatform\V1\Measurement
Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement |
↳ trial_infeasible |
bool
Optional. True if the Trial cannot be run with the given Parameter, and final_measurement will be ignored. |
↳ infeasible_reason |
string
Optional. A human readable reason why the trial was infeasible. This should only be provided if |
getName
Required. The Trial's name.
Format:
projects/{project}/locations/{location}/studies/{study}/trials/{trial}
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setName
Required. The Trial's name.
Format:
projects/{project}/locations/{location}/studies/{study}/trials/{trial}
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getFinalMeasurement
Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement
Generated from protobuf field .google.cloud.aiplatform.v1.Measurement final_measurement = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\Measurement|null |
hasFinalMeasurement
clearFinalMeasurement
setFinalMeasurement
Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement
Generated from protobuf field .google.cloud.aiplatform.v1.Measurement final_measurement = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\Measurement
|
Returns | |
---|---|
Type | Description |
$this |
getTrialInfeasible
Optional. True if the Trial cannot be run with the given Parameter, and final_measurement will be ignored.
Generated from protobuf field bool trial_infeasible = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
bool |
setTrialInfeasible
Optional. True if the Trial cannot be run with the given Parameter, and final_measurement will be ignored.
Generated from protobuf field bool trial_infeasible = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getInfeasibleReason
Optional. A human readable reason why the trial was infeasible. This should
only be provided if trial_infeasible
is true.
Generated from protobuf field string infeasible_reason = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
string |
setInfeasibleReason
Optional. A human readable reason why the trial was infeasible. This should
only be provided if trial_infeasible
is true.
Generated from protobuf field string infeasible_reason = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |