public final class BasicSli
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 |
|---|
BasicSli() |
| Modifier and Type | Method and Description |
|---|---|
BasicSli |
clone() |
AvailabilityCriteria |
getAvailability()
Good service is defined to be the count of requests made to this service that return
successfully.
|
LatencyCriteria |
getLatency()
Good service is defined to be the count of requests made to this service that are fast enough
with respect to latency.threshold.
|
List<String> |
getLocation()
OPTIONAL: The set of locations to which this SLI is relevant.
|
List<String> |
getMethod()
OPTIONAL: The set of RPCs to which this SLI is relevant.
|
List<String> |
getVersion()
OPTIONAL: The set of API versions to which this SLI is relevant.
|
BasicSli |
set(String fieldName,
Object value) |
BasicSli |
setAvailability(AvailabilityCriteria availability)
Good service is defined to be the count of requests made to this service that return
successfully.
|
BasicSli |
setLatency(LatencyCriteria latency)
Good service is defined to be the count of requests made to this service that are fast enough
with respect to latency.threshold.
|
BasicSli |
setLocation(List<String> location)
OPTIONAL: The set of locations to which this SLI is relevant.
|
BasicSli |
setMethod(List<String> method)
OPTIONAL: The set of RPCs to which this SLI is relevant.
|
BasicSli |
setVersion(List<String> version)
OPTIONAL: The set of API versions to which this SLI is relevant.
|
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 AvailabilityCriteria getAvailability()
null for nonepublic BasicSli setAvailability(AvailabilityCriteria availability)
availability - availability or null for nonepublic LatencyCriteria getLatency()
null for nonepublic BasicSli setLatency(LatencyCriteria latency)
latency - latency or null for nonepublic List<String> getLocation()
null for nonepublic BasicSli setLocation(List<String> location)
location - location or null for nonepublic List<String> getMethod()
null for nonepublic BasicSli setMethod(List<String> method)
method - method or null for nonepublic List<String> getVersion()
null for nonepublic BasicSli setVersion(List<String> version)
version - version or null for nonepublic BasicSli set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic BasicSli clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.