Google 애널리틱스용 MCP 서버를 사용해 보세요.
GitHub에서 설치하고
공지사항에서 자세한 내용을 확인하세요.
Method: properties.calculatedMetrics.list
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
속성의 CalculatedMetrics를 나열합니다.
HTTP 요청
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/calculatedMetrics
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
parent |
string
필수 항목입니다. 예시 형식: properties/1234
|
쿼리 매개변수
매개변수 |
pageSize |
integer
선택사항입니다. 반환할 최대 리소스 수입니다. 지정하지 않으면 최대 50개의 리소스가 반환됩니다. 최댓값은 200입니다 (더 큰 값은 최댓값으로 강제 변환됩니다).
|
pageToken |
string
선택사항입니다. 이전 calculatedMetrics.list 호출에서 받은 페이지 토큰입니다. 후속 페이지를 검색하려면 이를 입력합니다. 페이지를 매길 때 calculatedMetrics.list 에 제공된 다른 모든 매개변수는 페이지 토큰을 제공한 호출과 일치해야 합니다.
|
응답 본문
CalculateMetrics.list RPC의 응답 메시지입니다.
성공할 경우 응답 본문에 다음 구조의 데이터가 포함됩니다.
JSON 표현 |
{
"calculatedMetrics": [
{
object (CalculatedMetric )
}
],
"nextPageToken": string
} |
필드 |
calculatedMetrics[] |
object (CalculatedMetric )
CalculatedMetrics의 목록입니다.
|
nextPageToken |
string
다음 페이지를 검색하기 위해 pageToken 으로 전송할 수 있는 토큰입니다. 이 필드를 생략하면 후속 페이지가 표시되지 않습니다.
|
승인 범위
다음 OAuth 범위 중 하나가 필요합니다.
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eLists all CalculatedMetrics on a specified Google Analytics 4 property.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering using parameters like \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e for pagination.\u003c/p\u003e\n"],["\u003cp\u003eReturns an array of CalculatedMetrics and a token for retrieving subsequent pages if available.\u003c/p\u003e\n"],["\u003cp\u003eRequires specific authorization scopes for access.\u003c/p\u003e\n"],["\u003cp\u003eEmploys gRPC Transcoding for the request URL structure.\u003c/p\u003e\n"]]],["This document details how to list `CalculatedMetrics` for a property using an HTTP GET request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/calculatedMetrics`. The `parent` path parameter is required, specifying the property. Optional query parameters `pageSize` and `pageToken` support pagination. The request body must be empty. The response includes an array of `CalculatedMetrics` and a `nextPageToken` for retrieving further pages. Authorization requires specific OAuth scopes: `analytics.readonly` or `analytics.edit`.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListCalculatedMetricsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists CalculatedMetrics on a property.\n\nHTTP request\n\n`GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/calculatedMetrics`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|----------|----------------------------------------------------|\n| `parent` | `string` Required. Example format: properties/1234 |\n\nQuery parameters\n\n| Parameters ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` 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). |\n| `pageToken` | `string` Optional. A page token, received from a previous `calculatedMetrics.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `calculatedMetrics.list` must match the call that provided the page token. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body Response message for calculatedMetrics.list RPC.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"calculatedMetrics\": [ { object (/analytics/devguides/config/admin/v1/rest/v1alpha/properties.calculatedMetrics#CalculatedMetric) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `calculatedMetrics[]` | `object (`[CalculatedMetric](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.calculatedMetrics#CalculatedMetric)`)` List of CalculatedMetrics. |\n| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |\n\nAuthorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.readonly`\n- `https://www.googleapis.com/auth/analytics.edit`"]]