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
string
A page token, received from a previous customMetrics.list call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to customMetrics.list must match the call that provided the page token.
Request body
The request body must be empty.
Response body
Response message for customMetrics.list RPC.
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-14 UTC."],[[["Lists all CustomMetrics on a specified Google Analytics 4 property."],["Allows pagination to retrieve large result sets via `pageSize` and `pageToken` parameters."],["Response includes a list of CustomMetrics and a token for retrieving subsequent pages."],["Requires specific authorization scopes for access, either `analytics.readonly` or `analytics.edit`."],["The request body should be empty and the endpoint is accessed using an HTTP GET request."]]],["This document outlines the process for listing CustomMetrics on a property via an HTTP GET request to `https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/customMetrics`. The `parent` path parameter (e.g., `properties/1234`) is required. Optional query parameters `pageSize` and `pageToken` allow for pagination. The request body must be empty. The response includes a list of `customMetrics` and a `nextPageToken` for retrieving subsequent pages, all in JSON format. Authentication requires either `analytics.readonly` or `analytics.edit` OAuth scopes.\n"]]