public final class Aggregation
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 |
|---|
Aggregation() |
| Modifier and Type | Method and Description |
|---|---|
Aggregation |
clone() |
String |
getAlignmentPeriod()
The alignment_period specifies a time interval, in seconds, that is used to divide the data in
all the time series into consistent blocks of time.
|
String |
getCrossSeriesReducer()
The reduction operation to be used to combine time series into a single time series, where the
value of each data point in the resulting series is a function of all the already aligned
values in the input time series.Not all reducer operations can be applied to all time series.
|
List<String> |
getGroupByFields()
The set of fields to preserve when cross_series_reducer is specified.
|
String |
getPerSeriesAligner()
An Aligner describes how to bring the data points in a single time series into temporal
alignment.
|
Aggregation |
set(String fieldName,
Object value) |
Aggregation |
setAlignmentPeriod(String alignmentPeriod)
The alignment_period specifies a time interval, in seconds, that is used to divide the data in
all the time series into consistent blocks of time.
|
Aggregation |
setCrossSeriesReducer(String crossSeriesReducer)
The reduction operation to be used to combine time series into a single time series, where the
value of each data point in the resulting series is a function of all the already aligned
values in the input time series.Not all reducer operations can be applied to all time series.
|
Aggregation |
setGroupByFields(List<String> groupByFields)
The set of fields to preserve when cross_series_reducer is specified.
|
Aggregation |
setPerSeriesAligner(String perSeriesAligner)
An Aligner describes how to bring the data points in a single time series into temporal
alignment.
|
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 getAlignmentPeriod()
null for nonepublic Aggregation setAlignmentPeriod(String alignmentPeriod)
alignmentPeriod - alignmentPeriod or null for nonepublic String getCrossSeriesReducer()
null for nonepublic Aggregation setCrossSeriesReducer(String crossSeriesReducer)
crossSeriesReducer - crossSeriesReducer or null for nonepublic List<String> getGroupByFields()
null for nonepublic Aggregation setGroupByFields(List<String> groupByFields)
groupByFields - groupByFields or null for nonepublic String getPerSeriesAligner()
null for nonepublic Aggregation setPerSeriesAligner(String perSeriesAligner)
perSeriesAligner - perSeriesAligner or null for nonepublic Aggregation set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Aggregation clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.