public final class MetricAbsence
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Monitoring API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MetricAbsence() |
| Modifier and Type | Method and Description |
|---|---|
MetricAbsence |
clone() |
List<Aggregation> |
getAggregations()
Specifies the alignment of data points in individual time series as well as how to combine the
retrieved time series together (such as when aggregating multiple streams on each resource to a
single stream for each resource or when aggregating streams across all members of a group of
resources).
|
String |
getDuration()
Required.
|
String |
getFilter()
Required.
|
Trigger |
getTrigger()
The number/percent of time series for which the comparison must hold in order for the condition
to trigger.
|
MetricAbsence |
set(String fieldName,
Object value) |
MetricAbsence |
setAggregations(List<Aggregation> aggregations)
Specifies the alignment of data points in individual time series as well as how to combine the
retrieved time series together (such as when aggregating multiple streams on each resource to a
single stream for each resource or when aggregating streams across all members of a group of
resources).
|
MetricAbsence |
setDuration(String duration)
Required.
|
MetricAbsence |
setFilter(String filter)
Required.
|
MetricAbsence |
setTrigger(Trigger trigger)
The number/percent of time series for which the comparison must hold in order for the condition
to trigger.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<Aggregation> getAggregations()
null for nonepublic MetricAbsence setAggregations(List<Aggregation> aggregations)
aggregations - aggregations or null for nonepublic String getDuration()
null for nonepublic MetricAbsence setDuration(String duration)
duration - duration or null for nonepublic String getFilter()
null for nonepublic MetricAbsence setFilter(String filter)
filter - filter or null for nonepublic Trigger getTrigger()
null for nonepublic MetricAbsence setTrigger(Trigger trigger)
trigger - trigger or null for nonepublic MetricAbsence set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic MetricAbsence clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.