public final class Pivot
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 Google Analytics Data 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 |
|---|
Pivot() |
| Modifier and Type | Method and Description |
|---|---|
Pivot |
clone() |
List<String> |
getFieldNames()
Dimension names for visible columns in the report response.
|
Long |
getLimit()
The number of unique combinations of dimension values to return in this pivot.
|
List<String> |
getMetricAggregations()
Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.
|
Long |
getOffset()
The row count of the start row.
|
List<OrderBy> |
getOrderBys()
Specifies how dimensions are ordered in the pivot.
|
Pivot |
set(String fieldName,
Object value) |
Pivot |
setFieldNames(List<String> fieldNames)
Dimension names for visible columns in the report response.
|
Pivot |
setLimit(Long limit)
The number of unique combinations of dimension values to return in this pivot.
|
Pivot |
setMetricAggregations(List<String> metricAggregations)
Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.
|
Pivot |
setOffset(Long offset)
The row count of the start row.
|
Pivot |
setOrderBys(List<OrderBy> orderBys)
Specifies how dimensions are ordered in the pivot.
|
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 List<String> getFieldNames()
null for nonepublic Pivot setFieldNames(List<String> fieldNames)
fieldNames - fieldNames or null for nonepublic Long getLimit()
null for nonepublic Pivot setLimit(Long limit)
limit - limit or null for nonepublic List<String> getMetricAggregations()
null for nonepublic Pivot setMetricAggregations(List<String> metricAggregations)
metricAggregations - metricAggregations or null for nonepublic Long getOffset()
null for nonepublic Pivot setOffset(Long offset)
offset - offset or null for nonepublic List<OrderBy> getOrderBys()
null for nonepublic Pivot setOrderBys(List<OrderBy> orderBys)
orderBys - orderBys or null for nonepublic Pivot set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Pivot clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.