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

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

A message representing a metric in the measurement.

Generated from protobuf message google.cloud.aiplatform.v1.Measurement.Metric

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ metric_id string

Output only. The ID of the Metric. The Metric should be defined in StudySpec's Metrics.

↳ value float

Output only. The value for this metric.

getMetricId

Output only. The ID of the Metric. The Metric should be defined in StudySpec's Metrics.

Generated from protobuf field string metric_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setMetricId

Output only. The ID of the Metric. The Metric should be defined in StudySpec's Metrics.

Generated from protobuf field string metric_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Output only. The value for this metric.

Generated from protobuf field double value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
float

setValue

Output only. The value for this metric.

Generated from protobuf field double value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var float
Returns
TypeDescription
$this