public final class WindowsBasedSli
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 |
|---|
WindowsBasedSli() |
| Modifier and Type | Method and Description |
|---|---|
WindowsBasedSli |
clone() |
String |
getGoodBadMetricFilter()
A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a
TimeSeries with ValueType = BOOL.
|
PerformanceThreshold |
getGoodTotalRatioThreshold()
A window is good if its performance is high enough.
|
MetricRange |
getMetricMeanInRange()
A window is good if the metric's value is in a good range, averaged across returned streams.
|
MetricRange |
getMetricSumInRange()
A window is good if the metric's value is in a good range, summed across returned streams.
|
String |
getWindowPeriod()
Duration over which window quality is evaluated.
|
WindowsBasedSli |
set(String fieldName,
Object value) |
WindowsBasedSli |
setGoodBadMetricFilter(String goodBadMetricFilter)
A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a
TimeSeries with ValueType = BOOL.
|
WindowsBasedSli |
setGoodTotalRatioThreshold(PerformanceThreshold goodTotalRatioThreshold)
A window is good if its performance is high enough.
|
WindowsBasedSli |
setMetricMeanInRange(MetricRange metricMeanInRange)
A window is good if the metric's value is in a good range, averaged across returned streams.
|
WindowsBasedSli |
setMetricSumInRange(MetricRange metricSumInRange)
A window is good if the metric's value is in a good range, summed across returned streams.
|
WindowsBasedSli |
setWindowPeriod(String windowPeriod)
Duration over which window quality is evaluated.
|
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 String getGoodBadMetricFilter()
null for nonepublic WindowsBasedSli setGoodBadMetricFilter(String goodBadMetricFilter)
goodBadMetricFilter - goodBadMetricFilter or null for nonepublic PerformanceThreshold getGoodTotalRatioThreshold()
null for nonepublic WindowsBasedSli setGoodTotalRatioThreshold(PerformanceThreshold goodTotalRatioThreshold)
goodTotalRatioThreshold - goodTotalRatioThreshold or null for nonepublic MetricRange getMetricMeanInRange()
null for nonepublic WindowsBasedSli setMetricMeanInRange(MetricRange metricMeanInRange)
metricMeanInRange - metricMeanInRange or null for nonepublic MetricRange getMetricSumInRange()
null for nonepublic WindowsBasedSli setMetricSumInRange(MetricRange metricSumInRange)
metricSumInRange - metricSumInRange or null for nonepublic String getWindowPeriod()
null for nonepublic WindowsBasedSli setWindowPeriod(String windowPeriod)
windowPeriod - windowPeriod or null for nonepublic WindowsBasedSli set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic WindowsBasedSli clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.