View Source GoogleApi.AnalyticsData.V1beta.Model.PivotOrderBy (google_api_analytics_data v0.14.0)

Sorts by a pivot column group.

Attributes

  • metricName (type: String.t, default: nil) - In the response to order by, order rows by this column. Must be a metric name from the request.
  • pivotSelections (type: list(GoogleApi.AnalyticsData.V1beta.Model.PivotSelection.t), default: nil) - Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AnalyticsData.V1beta.Model.PivotOrderBy{
  metricName: String.t() | nil,
  pivotSelections:
    [GoogleApi.AnalyticsData.V1beta.Model.PivotSelection.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.