google_api_analytics_reporting v0.3.0 GoogleApi.AnalyticsReporting.V4.Model.Pivot View Source
The Pivot describes the pivot section in the request. The Pivot helps rearrange the information in the table for certain reports by pivoting your data on a second dimension.
Attributes
- dimensionFilterClauses (list(GoogleApi.AnalyticsReporting.V4.Model.DimensionFilterClause.t)): DimensionFilterClauses are logically combined with an
ANDoperator: only data that is included by all these DimensionFilterClauses contributes to the values in this pivot region. Dimension filters can be used to restrict the columns shown in the pivot region. For example if you havega:browseras the requested dimension in the pivot region, and you specify key filters to restrictga:browserto only "IE" or "Firefox", then only those two browsers would show up as columns. Defaults tonil. - dimensions (list(GoogleApi.AnalyticsReporting.V4.Model.Dimension.t)): A list of dimensions to show as pivot columns. A Pivot can have a maximum
of 4 dimensions. Pivot dimensions are part of the restriction on the
total number of dimensions allowed in the request. Defaults to
nil. - maxGroupCount (integer()): Specifies the maximum number of groups to return.
The default value is 10, also the maximum value is 1,000. Defaults to
nil. - metrics (list(GoogleApi.AnalyticsReporting.V4.Model.Metric.t)): The pivot metrics. Pivot metrics are part of the
restriction on total number of metrics allowed in the request. Defaults to
nil. - startGroup (integer()): If k metrics were requested, then the response will contain some
data-dependent multiple of k columns in the report. E.g., if you pivoted
on the dimension
ga:browserthen you'd get k columns for "Firefox", k columns for "IE", k columns for "Chrome", etc. The ordering of the groups of columns is determined by descending order of "total" for the first of the k values. Ties are broken by lexicographic ordering of the first pivot dimension, then lexicographic ordering of the second pivot dimension, and so on. E.g., if the totals for the first value for Firefox, IE, and Chrome were 8, 2, 8, respectively, the order of columns would be Chrome, Firefox, IE.
The following let you choose which of the groups of k columns are
included in the response. Defaults to nil.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.AnalyticsReporting.V4.Model.Pivot{
dimensionFilterClauses: [
GoogleApi.AnalyticsReporting.V4.Model.DimensionFilterClause.t()
],
dimensions: [GoogleApi.AnalyticsReporting.V4.Model.Dimension.t()],
maxGroupCount: integer(),
metrics: [GoogleApi.AnalyticsReporting.V4.Model.Metric.t()],
startGroup: integer()
}
t() :: %GoogleApi.AnalyticsReporting.V4.Model.Pivot{
dimensionFilterClauses: [
GoogleApi.AnalyticsReporting.V4.Model.DimensionFilterClause.t()
],
dimensions: [GoogleApi.AnalyticsReporting.V4.Model.Dimension.t()],
maxGroupCount: integer(),
metrics: [GoogleApi.AnalyticsReporting.V4.Model.Metric.t()],
startGroup: integer()
}
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.