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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Output only. The value for this metric.
Generated from protobuf field double value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
float |
setValue
Output only. The value for this metric.
Generated from protobuf field double value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |