Google Cloud Ai Platform V1 Client - Class AddTrialMeasurementRequest (0.11.1)

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

Request message for VizierService.AddTrialMeasurement.

Generated from protobuf message google.cloud.aiplatform.v1.AddTrialMeasurementRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ trial_name string

Required. The name of the trial to add measurement. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

↳ measurement Google\Cloud\AIPlatform\V1\Measurement

Required. The measurement to be added to a Trial.

getTrialName

Required. The name of the trial to add measurement.

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

Returns
TypeDescription
string

setTrialName

Required. The name of the trial to add measurement.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMeasurement

Required. The measurement to be added to a Trial.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\Measurement|null

hasMeasurement

clearMeasurement

setMeasurement

Required. The measurement to be added to a Trial.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\Measurement
Returns
TypeDescription
$this