public final class Trigger
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 |
|---|
Trigger() |
| Modifier and Type | Method and Description |
|---|---|
Trigger |
clone() |
java.lang.Integer |
getCount()
The absolute number of time series that must fail the predicate for the condition to be
triggered.
|
java.lang.Double |
getPercent()
The percentage of time series that must fail the predicate for the condition to be triggered.
|
Trigger |
set(java.lang.String fieldName,
java.lang.Object value) |
Trigger |
setCount(java.lang.Integer count)
The absolute number of time series that must fail the predicate for the condition to be
triggered.
|
Trigger |
setPercent(java.lang.Double percent)
The percentage of time series that must fail the predicate for the condition to be triggered.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Integer getCount()
null for nonepublic Trigger setCount(java.lang.Integer count)
count - count or null for nonepublic java.lang.Double getPercent()
null for nonepublic Trigger setPercent(java.lang.Double percent)
percent - percent or null for nonepublic Trigger set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Trigger clone()
clone in class com.google.api.client.json.GenericJson