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

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}

Generated from protobuf field string trial_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setTrialName

Required. The name of the trial to add measurement.

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

Generated from protobuf field string trial_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMeasurement

Required. The measurement to be added to a Trial.

Generated from protobuf field .google.cloud.aiplatform.v1.Measurement measurement = 3 [(.google.api.field_behavior) = REQUIRED];

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

hasMeasurement

clearMeasurement

setMeasurement

Required. The measurement to be added to a Trial.

Generated from protobuf field .google.cloud.aiplatform.v1.Measurement measurement = 3 [(.google.api.field_behavior) = REQUIRED];

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