כדי לקבל חברות באפליקציה באמצעות אימות משתמש, אפשר גם להשתמש ב-spaces/{space}/members/app.
פורמט: spaces/{space}/members/{member} או spaces/{space}/members/app
אפשר להשתמש בכתובת האימייל של המשתמש ככתובת אימייל חלופית ל-{member}. לדוגמה, spaces/{space}/members/example@gmail.com כאשר example@gmail.com הוא כתובת האימייל של המשתמש ב-Google Chat.
פרמטרים של שאילתה
פרמטרים
useAdminAccess
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-12 (שעון 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"]]