Google Cloud Ai Platform V1 Client - Class CompleteTrialRequest (1.13.1)

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The Trial's name. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

↳ final_measurement 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 trial_infeasible is true.

getName

Required. The Trial's name.

Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

Returns
Type Description
string

setName

Required. The Trial's name.

Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

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

Returns
Type Description
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

Parameter
Name Description
var Measurement
Returns
Type Description
$this

getTrialInfeasible

Optional. True if the Trial cannot be run with the given Parameter, and final_measurement will be ignored.

Returns
Type Description
bool

setTrialInfeasible

Optional. True if the Trial cannot be run with the given Parameter, and final_measurement will be ignored.

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.

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.

Parameter
Name Description
var string
Returns
Type Description
$this