For a list of methods for this resource, see the end of this page.
Resource representations
Represents a report.
{ "key": { "queryId": long, "reportId": long }, "metadata": { "status": { "state": string, "failure": { "errorCode": string }, "finishTimeMs": long, "format": string }, "reportDataStartTimeMs": long, "reportDataEndTimeMs": long, "googleCloudStoragePath": string }, "params": { "type": string, "groupBys": [ string ], "filters": [ { "type": string, "value": string } ], "metrics": [ string ], "includeInviteData": boolean } }
Property name | Value | Description | Notes |
---|---|---|---|
key |
nested object |
Key used to identify a report. | |
key.queryId |
long |
Query ID. | |
key.reportId |
long |
Report ID. | |
metadata |
nested object |
Report metadata. | |
metadata.googleCloudStoragePath |
string |
The path to the location in Google Cloud Storage where the report is stored. | |
metadata.reportDataEndTimeMs |
long |
The ending time for the data that is shown in the report. | |
metadata.reportDataStartTimeMs |
long |
The starting time for the data that is shown in the report. | |
metadata.status |
nested object |
Report status. | |
metadata.status.failure |
nested object |
If the report failed, this records the cause. | |
metadata.status.failure.errorCode |
string |
Error code that shows why the report was not created.
Acceptable values are:
|
|
metadata.status.finishTimeMs |
long |
The time when this report either completed successfully or failed. | |
metadata.status.format |
string |
The file type of the report.
Acceptable values are:
|
|
metadata.status.state |
string |
The state of the report.
Acceptable values are:
|
|
params |
nested object |
Report parameters. | |
params.filters[] |
list |
Filters used to match traffic data in your report. | |
params.filters[].type |
string |
Filter type.
Acceptable values are:
|
|
params.filters[].value |
string |
Filter value. | |
params.groupBys[] |
list |
Data is grouped by the filters listed in this field. | |
params.includeInviteData |
boolean |
Deprecated. This field is no longer in use. | |
params.metrics[] |
list |
Metrics to include as columns in your report. | |
params.type |
string |
Report type. Type-specific limitations:
Acceptable values are:
|
Methods
- listreports
- Retrieves stored reports.