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 Stackdriver 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.Flags| Constructor and Description |
|---|
MetricAbsence() |
| Modifier and Type | Method and Description |
|---|---|
MetricAbsence |
clone() |
java.util.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
resrouces).
|
java.lang.String |
getDuration()
The amount of time that a time series must fail to report new data to be considered failing.
|
java.lang.String |
getFilter()
A filter that identifies which time series should be compared with the threshold.The filter is
similar to the one that is specified in the MetricService.ListTimeSeries request (that call is
useful to verify the time series that will be retrieved / processed) and must specify the
metric type and optionally may contain restrictions on resource type, resource labels, and
metric labels.
|
Trigger |
getTrigger()
The number/percent of time series for which the comparison must hold in order for the condition
to trigger.
|
MetricAbsence |
set(java.lang.String fieldName,
java.lang.Object value) |
MetricAbsence |
setAggregations(java.util.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
resrouces).
|
MetricAbsence |
setDuration(java.lang.String duration)
The amount of time that a time series must fail to report new data to be considered failing.
|
MetricAbsence |
setFilter(java.lang.String filter)
A filter that identifies which time series should be compared with the threshold.The filter is
similar to the one that is specified in the MetricService.ListTimeSeries request (that call is
useful to verify the time series that will be retrieved / processed) and must specify the
metric type and optionally may contain restrictions on resource type, resource labels, and
metric labels.
|
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<Aggregation> getAggregations()
null for nonepublic MetricAbsence setAggregations(java.util.List<Aggregation> aggregations)
aggregations - aggregations or null for nonepublic java.lang.String getDuration()
null for nonepublic MetricAbsence setDuration(java.lang.String duration)
duration - duration or null for nonepublic java.lang.String getFilter()
null for nonepublic MetricAbsence setFilter(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic MetricAbsence clone()
clone in class com.google.api.client.json.GenericJson