GoogleApi.AnalyticsData.V1alpha.Model.Dimension (google_api_analytics_data v0.7.0) View Source

Dimensions are attributes of your data. For example, the dimension city indicates the city from which an event originates. Dimension values in report responses are strings; for example, city could be "Paris" or "New York". Requests are allowed up to 8 dimensions.

Attributes

  • dimensionExpression (type: GoogleApi.AnalyticsData.V1alpha.Model.DimensionExpression.t, default: nil) - One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).
  • name (type: String.t, default: nil) - The name of the dimension. See the API Dimensions for the list of dimension names. If dimensionExpression is specified, name can be any string that you would like. For example if a dimensionExpression concatenates country and city, you could call that dimension countryAndCity. Dimensions are referenced by name in dimensionFilter, orderBys, dimensionExpression, and pivots.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AnalyticsData.V1alpha.Model.Dimension{
  dimensionExpression:
    GoogleApi.AnalyticsData.V1alpha.Model.DimensionExpression.t(),
  name: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.