Необходимый. Имя ресурса членства, которое требуется получить.
Чтобы получить собственное членство приложения с помощью аутентификации пользователя , вы можете дополнительно использовать spaces/{space}/members/app .
Формат: spaces/{space}/members/{member} или spaces/{space}/members/app
Вы можете использовать адрес электронной почты пользователя в качестве псевдонима для {member} . Например, spaces/{space}/members/example@gmail.com , где example@gmail.com — это адрес электронной почты пользователя Google Chat.
Параметры запроса
Параметры
use Admin Access
boolean
Необязательный. Если true , метод запускается с использованием прав администратора Google Workspace пользователя.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2024-11-15 UTC."],[[["Returns detailed information about a specific Google Chat membership within a space."],["Supports both app and user authentication, with an option for user authentication to leverage administrator privileges."],["Requires providing the membership's resource name in the request path, allowing the use of email aliases for member identification."],["Optionally accepts a query parameter to utilize the user's Google Workspace administrator privileges for the request."],["Needs authorization with specific OAuth scopes related to Chat memberships and administration."]]],["This document outlines how to retrieve membership details using a `GET` request to `https://chat.googleapis.com/v1/{name=spaces/*/members/*}`. The `name` path parameter specifies the membership, with options to use a user's email as an alias. The `useAdminAccess` query parameter allows for execution with Google Workspace administrator privileges. The request body should be empty; a successful response contains a `Membership` instance. The operation requires various authorization scopes, including `chat.admin.memberships`.\n"]]