עדכון או חידוש של מינוי ל-Google Workspace. כך מעדכנים או מחדשים מינוי ל-Google Workspace.
במינוי למקור מידע של יעד ב-Chat, אפשר לעדכן את המינוי כך:
אפליקציית Chat שנרשמת לאירועים במרחב שבו האפליקציה היא משתתפת, על ידי ציון היקף הרשאות שמתחיל ב-
chat.appוקבלת אישור חד-פעמי מהאדמין. מידע נוסף מופיע במאמר אישור אפליקציות ל-Chat על ידי האדמין.גרסת Developer Preview: אפליקציית Chat שנרשמת לכל האירועים בארגון Google Workspace על ידי ציון היקף הרשאות שמתחיל ב-
chat.app.allוקבלת אישור חד-פעמי מהאדמין. מידע נוסף זמין במאמר בנושא הרשמה לכל האירועים ב-Google Chat בארגון Workspace .משתמש על ידי ציון היקף הרשאה שלא כולל את
appבשם שלו. מידע נוסף זמין במאמר בנושא מתן הרשאה כמשתמש Chat.
בקשת HTTP
PATCH https://workspaceevents.googleapis.com/v1/{subscription.name=subscriptions/*}
כתובת ה-URL כתובה בתחביר של gRPC Transcoding.
פרמטרים של נתיב
| פרמטרים | |
|---|---|
subscription.name |
מזהה. שם המשאב של המינוי. פורמט: |
פרמטרים של שאילתה
| פרמטרים | |
|---|---|
updateMask |
אופציונלי. השדה לעדכון. אם לא מציינים שדות, כל השדות שכלולים בבקשה יעודכנו. אפשר לעדכן את אחד מהשדות הבאים במינוי:
כשמשתמשים בתו הכללי |
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.memberships.readonlyhttps://www.googleapis.com/auth/chat.app.all.memberships.readonlyhttps://www.googleapis.com/auth/chat.app.messages.readonlyhttps://www.googleapis.com/auth/chat.app.all.messages.readonlyhttps://www.googleapis.com/auth/chat.app.spaceshttps://www.googleapis.com/auth/chat.app.spaces.readonlyhttps://www.googleapis.com/auth/chat.app.all.spaces.readonlyhttps://www.googleapis.com/auth/chat.app.all.users.readstate.readonlyhttps://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
מידע נוסף זמין במדריך ההרשאות.