| Package | Description |
|---|---|
| com.google.api.services.monitoring.v3.model |
| Modifier and Type | Method and Description |
|---|---|
Metric |
Metric.clone() |
Metric |
Alert.getMetric()
The metric type and any metric labels preserved from the incident's generating condition.
|
Metric |
TimeSeries.getMetric()
The associated metric.
|
Metric |
Metric.set(String fieldName,
Object value) |
Metric |
Metric.setLabels(Map<String,String> labels)
The set of label values that uniquely identify this metric.
|
Metric |
Metric.setType(String type)
An existing metric type, see google.api.MetricDescriptor.
|
| Modifier and Type | Method and Description |
|---|---|
Alert |
Alert.setMetric(Metric metric)
The metric type and any metric labels preserved from the incident's generating condition.
|
TimeSeries |
TimeSeries.setMetric(Metric metric)
The associated metric.
|
Copyright © 2011–2025 Google. All rights reserved.