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

Order bys define how rows will be sorted in the response. For example, ordering rows by descending event count is one ordering, and ordering rows by the event name string is a different ordering.

Attributes

  • desc (type: boolean(), default: nil) - If true, sorts by descending order.
  • dimension (type: GoogleApi.AnalyticsData.V1beta.Model.DimensionOrderBy.t, default: nil) - Sorts results by a dimension's values.
  • metric (type: GoogleApi.AnalyticsData.V1beta.Model.MetricOrderBy.t, default: nil) - Sorts results by a metric's values.
  • pivot (type: GoogleApi.AnalyticsData.V1beta.Model.PivotOrderBy.t, default: nil) - Sorts results by a metric's values within a pivot column group.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AnalyticsData.V1beta.Model.OrderBy{
  desc: boolean() | nil,
  dimension: GoogleApi.AnalyticsData.V1beta.Model.DimensionOrderBy.t() | nil,
  metric: GoogleApi.AnalyticsData.V1beta.Model.MetricOrderBy.t() | nil,
  pivot: GoogleApi.AnalyticsData.V1beta.Model.PivotOrderBy.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.