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 Reporting 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 |
|---|
Pivot() |
| Modifier and Type | Method and Description |
|---|---|
Pivot |
clone() |
java.util.List<DimensionFilterClause> |
getDimensionFilterClauses()
DimensionFilterClauses are logically combined with an `AND` operator: only data that is
included by all these DimensionFilterClauses contributes to the values in this pivot region.
|
java.util.List<Dimension> |
getDimensions()
A list of dimensions to show as pivot columns.
|
java.lang.Integer |
getMaxGroupCount()
Specifies the maximum number of groups to return.
|
java.util.List<Metric> |
getMetrics()
The pivot metrics.
|
java.lang.Integer |
getStartGroup()
If k metrics were requested, then the response will contain some data-dependent multiple of k
columns in the report.
|
Pivot |
set(java.lang.String fieldName,
java.lang.Object value) |
Pivot |
setDimensionFilterClauses(java.util.List<DimensionFilterClause> dimensionFilterClauses)
DimensionFilterClauses are logically combined with an `AND` operator: only data that is
included by all these DimensionFilterClauses contributes to the values in this pivot region.
|
Pivot |
setDimensions(java.util.List<Dimension> dimensions)
A list of dimensions to show as pivot columns.
|
Pivot |
setMaxGroupCount(java.lang.Integer maxGroupCount)
Specifies the maximum number of groups to return.
|
Pivot |
setMetrics(java.util.List<Metric> metrics)
The pivot metrics.
|
Pivot |
setStartGroup(java.lang.Integer startGroup)
If k metrics were requested, then the response will contain some data-dependent multiple of k
columns in the report.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<DimensionFilterClause> getDimensionFilterClauses()
null for nonepublic Pivot setDimensionFilterClauses(java.util.List<DimensionFilterClause> dimensionFilterClauses)
dimensionFilterClauses - dimensionFilterClauses or null for nonepublic java.util.List<Dimension> getDimensions()
null for nonepublic Pivot setDimensions(java.util.List<Dimension> dimensions)
dimensions - dimensions or null for nonepublic java.lang.Integer getMaxGroupCount()
null for nonepublic Pivot setMaxGroupCount(java.lang.Integer maxGroupCount)
maxGroupCount - maxGroupCount or null for nonepublic java.util.List<Metric> getMetrics()
null for nonepublic Pivot setMetrics(java.util.List<Metric> metrics)
metrics - metrics or null for nonepublic java.lang.Integer getStartGroup()
null for nonepublic Pivot setStartGroup(java.lang.Integer startGroup)
startGroup - startGroup or null for nonepublic Pivot set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Pivot clone()
clone in class com.google.api.client.json.GenericJson