Method: accounts.accessBindings.batchGet
Получает информацию о привязках множественного доступа к учетной записи или ресурсу.
HTTP-запрос
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchGet
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
parent | string Необходимый. Учетная запись или ресурс, которому принадлежат привязки доступа. Родитель всех предоставленных значений для поля «имена» должен совпадать с этим полем. Форматы: - аккаунты/{аккаунт} - свойства/{свойство} |
Параметры запроса
Параметры |
---|
names[] | string Необходимый. Имена привязок доступа, которые требуется получить. В пакете можно получить не более 1000 привязок доступа. Форматы: accounts/{account}/accessBindings/{accessBinding} — свойства/{property}/accessBindings/{accessBinding}. |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит экземпляр BatchGetAccessBindingsResponse
.
Области авторизации
Требуется одна из следующих областей OAuth:
-
https://www.googleapis.com/auth/analytics.manage.users.readonly
-
https://www.googleapis.com/auth/analytics.manage.users
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-10-25 UTC.
[null,null,["Последнее обновление: 2024-10-25 UTC."],[[["Retrieves information about multiple access bindings associated with a Google Analytics account or property."],["Requires specifying the parent account or property and a list of access binding names in the request."],["Uses a `GET` request to the `https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchGet` endpoint."],["The response includes details about the requested access bindings in a `BatchGetAccessBindingsResponse` object."],["Requires appropriate authorization scopes for user access management in Google Analytics."]]],["This outlines how to retrieve multiple access bindings for an account or property using a `GET` request. The URL requires the `parent` path parameter specifying the account or property. The `names[]` query parameter is also required and allows fetching up to 1000 access bindings. The request body must be empty. A successful response contains `BatchGetAccessBindingsResponse`. Authorization requires `analytics.manage.users.readonly` or `analytics.manage.users` scopes. The request uses gRPC Transcoding syntax.\n"]]