AI-generated Key Takeaways
-
BasicMetricsRequest
allows retrieval of basic metric insights for a specified time range, up to 18 months. -
The request specifies desired metrics and data return options using
MetricRequest
objects. -
Each
MetricRequest
defines the specific metric and how the values should be presented in the response. -
Data for days near the request date might be unavailable and is indicated within the
metricValues
field of the response.
A request for basic metric insights.
JSON representation | |
---|---|
{ "metricRequests": [ { object ( |
Fields | |
---|---|
metricRequests[] |
A collection of metrics to return values for including the options for how the data should be returned. |
timeRange |
The range to gather metrics for. The maximum range is 18 months from the request date. In some cases, the data may still be missing for days close to the request date. Missing data will be specified in the |
MetricRequest
A request to return values for one metric and the options for how those values should be returned.
JSON representation | |
---|---|
{ "metric": enum ( |
Fields | |
---|---|
metric |
The requested metric. |
options[] |
How the values should appear when returned. |