View Source ReqGA.ReportResponse (ReqGA v0.1.2)

Summary

Functions

A struct representing a report response

Functions

%ReqGA.ReportResponse{}

(struct)

A struct representing a report response

Has the following keys:

  • dimensions: a list of the dimension in the report
  • metrics: a list of the metric names in the report as well as their type, in tuple format e.g. {"activeUsers", "TYPE_INTEGER"}
  • columns: the column names for each row (dimension names first, followed by metric names)
  • rows: a list containing the row's data
  • totals: used for reports with total
  • maximums: used for reports with maximums
  • minimums: used for reports with minimums
  • count: the number of results (rows)
  • property_quota: property quota data (if returned)
  • metadata: associated with the report and property, such as currency code, time zone information and if the data is subject to thresholding.

Implements the Table.Reader reader protocol.

new(body)