Wypróbuj serwer MCP w Google Analytics. Zainstaluj go z
GitHub. Więcej informacji znajdziesz w
ogłoszeniu.
Method: properties.accessBindings.list
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wyświetla listę wszystkich powiązań dostępu na koncie lub w usłudze.
Żądanie HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagane. Formaty: - konta/{konto} - usługi/{usługa}
|
Parametry zapytania
Parametry |
pageSize |
integer
Maksymalna liczba powiązań dostępu do zwrócenia. Usługa może zwrócić mniejszą wartość od tej wartości. Jeśli nie określono inaczej, zwróconych zostanie maksymalnie 200 powiązań dostępu. Maksymalna wartość to 500, a wartości powyżej 500 zostaną przekształcone na 500.
|
pageToken |
string
Token strony odebrany z poprzedniego wywołania accessBindings.list . Podaj je, aby pobrać kolejną stronę. W przypadku podziału na strony wszystkie pozostałe parametry podane w interfejsie accessBindings.list muszą odpowiadać wywołaniu, które podało token strony.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu ListAccessBindingsResponse
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/analytics.manage.users.readonly
https://www.googleapis.com/auth/analytics.manage.users
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eLists all access bindings, which control user permissions, for a given Google Analytics 4 property or account.\u003c/p\u003e\n"],["\u003cp\u003eThe API request requires specifying the parent property or account using the \u003ccode\u003eparent\u003c/code\u003e path parameter.\u003c/p\u003e\n"],["\u003cp\u003eYou can control the number of results and retrieve subsequent pages using the \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with specific OAuth scopes to manage or view user access.\u003c/p\u003e\n"]]],["This document outlines how to list access bindings for Google Analytics accounts or properties. A `GET` request is sent to a specified URL, including a required `parent` path parameter (account or property ID). Optional query parameters `pageSize` (max 500) and `pageToken` (for pagination) can be used. The request body is empty. A successful response returns a `ListAccessBindingsResponse`. The request requires specific OAuth scopes for read or manage user permissions.\n"],null,["# Method: properties.accessBindings.list\n\n- [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- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists all access bindings on an account or property.\n\n### HTTP request\n\n`GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|--------------------------------------------------------------------------|\n| `parent` | `string` Required. Formats: - accounts/{account} - properties/{property} |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of access bindings to return. The service may return fewer than this value. If unspecified, at most 200 access bindings will be returned. The maximum value is 500; values above 500 will be coerced to 500. |\n| `pageToken` | `string` A page token, received from a previous `accessBindings.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `accessBindings.list` must match the call that provided the page token. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [ListAccessBindingsResponse](/analytics/devguides/config/admin/v1/rest/v1alpha/ListAccessBindingsResponse).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.manage.users.readonly`\n- `https://www.googleapis.com/auth/analytics.manage.users`"]]