Định dạng: spaces/{space}/members/{member} hoặc spaces/{space}/members/app
Bạn có thể sử dụng email của người dùng làm bí danh cho {member}. Ví dụ: spaces/{space}/members/example@gmail.com, trong đó example@gmail.com là email của người dùng Google Chat.
Tham số truy vấn
Thông số
useAdminAccess
boolean
Không bắt buộc. Khi true, phương thức này sẽ chạy bằng các đặc quyền quản trị viên Google Workspace của người dùng.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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"]]