AI-generated Key Takeaways
-
The endpoint lists CalculatedMetrics on a property using a GET request to a specified URL.
-
The request requires a
parentpath parameter specifying the property. -
Optional query parameters include
pageSizefor limiting results andpageTokenfor pagination. -
The request body must be empty, while the response body contains a list of
calculatedMetricsand an optionalnextPageToken. -
Authorization requires either the
analytics.readonlyoranalytics.editOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists CalculatedMetrics on a property.
HTTP request
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/calculatedMetrics
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Example format: properties/1234 |
Query parameters
| Parameters | |
|---|---|
pageSize |
Optional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
Response message for calculatedMetrics.list RPC.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"calculatedMetrics": [
{
object ( |
| Fields | |
|---|---|
calculatedMetrics[] |
List of CalculatedMetrics. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/analytics.readonlyhttps://www.googleapis.com/auth/analytics.edit