| Package | Description |
|---|---|
| com.google.api.services.monitoring.v3 | |
| com.google.api.services.monitoring.v3.model |
| Modifier and Type | Method and Description |
|---|---|
Monitoring.Projects.MetricDescriptors.Create |
Monitoring.Projects.MetricDescriptors.create(String name,
MetricDescriptor content)
Creates a new metric descriptor.
|
| Constructor and Description |
|---|
Create(String name,
MetricDescriptor content)
Creates a new metric descriptor.
|
| 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> |
ListMetricDescriptorsResponse.getMetricDescriptors()
The metric descriptors that are available to the project and that match the value of filter, if
present.
|
| Modifier and Type | Method and Description |
|---|---|
ListMetricDescriptorsResponse |
ListMetricDescriptorsResponse.setMetricDescriptors(List<MetricDescriptor> metricDescriptors)
The metric descriptors that are available to the project and that match the value of filter, if
present.
|
Copyright © 2011–2022 Google. All rights reserved.