Package | Description |
---|---|
com.google.api.services.servicemanagement.model |
Modifier and Type | Method and Description |
---|---|
MetricDescriptor |
MetricDescriptor.clone() |
MetricDescriptor |
MetricDescriptor.set(String fieldName,
Object value) |
MetricDescriptor |
MetricDescriptor.setDescription(String description)
A detailed description of the metric, which can be used in documentation.
|
MetricDescriptor |
MetricDescriptor.setDisplayName(String displayName)
A concise name for the metric, which can be displayed in user interfaces.
|
MetricDescriptor |
MetricDescriptor.setLabels(List<LabelDescriptor> labels)
The set of labels that can be used to describe a specific instance of this metric type.
|
MetricDescriptor |
MetricDescriptor.setLaunchStage(String launchStage)
Optional.
|
MetricDescriptor |
MetricDescriptor.setMetadata(MetricDescriptorMetadata metadata)
Optional.
|
MetricDescriptor |
MetricDescriptor.setMetricKind(String metricKind)
Whether the metric records instantaneous values, changes to a value, etc.
|
MetricDescriptor |
MetricDescriptor.setMonitoredResourceTypes(List<String> monitoredResourceTypes)
Read-only.
|
MetricDescriptor |
MetricDescriptor.setName(String name)
The resource name of the metric descriptor.
|
MetricDescriptor |
MetricDescriptor.setType(String type)
The metric type, including its DNS name prefix.
|
MetricDescriptor |
MetricDescriptor.setUnit(String unit)
The units in which the metric value is reported.
|
MetricDescriptor |
MetricDescriptor.setValueType(String valueType)
Whether the measurement is an integer, a floating-point number, etc.
|
Modifier and Type | Method and Description |
---|---|
List<MetricDescriptor> |
Service.getMetrics()
Defines the metrics used by this service.
|
Modifier and Type | Method and Description |
---|---|
Service |
Service.setMetrics(List<MetricDescriptor> metrics)
Defines the metrics used by this service.
|
Copyright © 2011–2024 Google. All rights reserved.