Result of a generated report.
JSON representation |
---|
{ "totalMatchedRows": string, "headers": [ { object ( |
Fields | |
---|---|
totalMatchedRows |
The total number of rows matched by the report request. |
headers[] |
The header information; one for each dimension in the request, followed by one for each metric in the request. |
rows[] |
The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. |
totals |
The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. |
averages |
The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. |
warnings[] |
Any warnings associated with generation of the report. These warnings are always returned in English. |
startDate |
Required. Start date of the range (inclusive). |
endDate |
Required. End date of the range (inclusive). |
Header
The header information of the columns requested in the report.
JSON representation |
---|
{
"name": string,
"type": enum ( |
Fields | |
---|---|
name |
Required. Name of the header. |
type |
Required. Type of the header. |
currencyCode |
The ISO-4217 currency code of this column. Only present if the header type is METRIC_CURRENCY. |
HeaderType
Type of the header.
Enums | |
---|---|
HEADER_TYPE_UNSPECIFIED |
Unspecified header. |
DIMENSION |
Dimension header type. |
METRIC_TALLY |
Tally header type. |
METRIC_RATIO |
Ratio header type. |
METRIC_CURRENCY |
Currency header type. |
METRIC_MILLISECONDS |
Milliseconds header type. |
METRIC_DECIMAL |
Decimal header type. |
Row
Row representation.
JSON representation |
---|
{
"cells": [
{
object ( |
Fields | |
---|---|
cells[] |
Cells in the row. |
Cell
Cell representation.
JSON representation |
---|
{ "value": string } |
Fields | |
---|---|
value |
Value in the cell. The dimension cells contain strings, and the metric cells contain numbers. |