יצירת מינוי ל-Google Workspace. כאן מוסבר איך משתמשים בשיטה הזו.
במשאב יעד של Chat, אפשר ליצור מינוי כ:
אפליקציית צ'אט על ידי ציון היקף הרשאה שמתחיל ב-
chat.appוקבלת אישור חד-פעמי מהאדמין (גרסת Developer Preview). מידע נוסף זמין במאמר אישור אפליקציות ל-Chat על ידי אדמינים.משתמש על ידי ציון היקף הרשאה שלא כולל
appבשם שלו. מידע נוסף זמין במאמר בנושא מתן הרשאה כמשתמש Chat.
בקשת HTTP
POST https://workspaceevents.googleapis.com/v1beta/subscriptions
כתובת ה-URL כתובה בתחביר של gRPC Transcoding.
פרמטרים של שאילתה
| פרמטרים | |
|---|---|
validateOnly |
אופציונלי. אם הערך הוא |
גוף הבקשה
גוף הבקשה מכיל מופע של Subscription.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע חדש של Operation.
- השדה
metadataמכיל מערך ריק. - השדה
responseמכיל מופע חדש שלSubscription.
היקפי הרשאה
נדרש אחד מהיקפי ההרשאות הבאים של OAuth:
https://www.googleapis.com/auth/chat.spaceshttps://www.googleapis.com/auth/chat.spaces.readonlyhttps://www.googleapis.com/auth/chat.messageshttps://www.googleapis.com/auth/chat.messages.readonlyhttps://www.googleapis.com/auth/chat.messages.reactionshttps://www.googleapis.com/auth/chat.messages.reactions.readonlyhttps://www.googleapis.com/auth/chat.membershipshttps://www.googleapis.com/auth/chat.memberships.readonlyhttps://www.googleapis.com/auth/chat.app.membershipshttps://www.googleapis.com/auth/chat.app.messages.readonlyhttps://www.googleapis.com/auth/chat.app.spaceshttps://www.googleapis.com/auth/meetings.space.createdhttps://www.googleapis.com/auth/meetings.space.readonlyhttps://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.filehttps://www.googleapis.com/auth/drive.metadatahttps://www.googleapis.com/auth/drive.metadata.readonlyhttps://www.googleapis.com/auth/drive.readonly
מידע נוסף זמין במדריך ההרשאות.