Uwierzytelnianie użytkownika – możesz uwierzytelnić i autoryzować tę metodę przy użyciu uprawnień administratora, ustawiając w żądaniu pole useAdminAccess.
Żądanie HTTP
GET https://chat.googleapis.com/v1/{name=spaces/*/members/*}
Format: spaces/{space}/members/{member} lub spaces/{space}/members/app
Możesz użyć adresu e-mail użytkownika jako aliasu {member}. Na przykład spaces/{space}/members/example@gmail.com, gdzie example@gmail.com to adres e-mail użytkownika Google Chat.
Parametry zapytania
Parametry
useAdminAccess
boolean
Opcjonalnie: Jeśli true, metoda jest wykonywana z uprawnieniami administratora Google Workspace.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-02-27 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"]]