עדכון או חידוש של מינוי ל-Google Workspace. כך מעדכנים או מחדשים מינוי ל-Google Workspace.
במינוי למקור מידע של יעד ב-Chat, אפשר לעדכן את המינוי כך:
- אפליקציית צ'אט על ידי ציון היקף הרשאות שמתחיל ב- - chat.appוקבלת אישור חד-פעמי מהאדמין (גרסת Developer Preview). מידע נוסף זמין במאמר אישור אפליקציות ל-Chat על ידי אדמינים.
- משתמש על ידי ציון היקף הרשאה שלא כולל - appבשם שלו. מידע נוסף זמין במאמר בנושא מתן הרשאה כמשתמש Chat.
בקשת HTTP
PATCH https://workspaceevents.googleapis.com/v1beta/{subscription.name=subscriptions/*}
כתובת ה-URL כתובה בתחביר של gRPC Transcoding.
פרמטרים של נתיב
| פרמטרים | |
|---|---|
| subscription.name | 
 מזהה. שם המשאב של המינוי. פורמט:  | 
פרמטרים של שאילתה
| פרמטרים | |
|---|---|
| updateMask | 
 אופציונלי. השדה לעדכון. אם לא מציינים שדה, מתבצע עדכון של כל השדות שכלולים בבקשה. אפשר לעדכן את אחד מהשדות הבאים במינוי: 
 כשמשתמשים בתו הכללי  | 
| validateOnly | 
 אופציונלי. אם הערך הוא  | 
גוף הבקשה
גוף הבקשה מכיל מופע של Subscription.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע של Operation.
- השדה metadataמכיל מערך ריק.
- השדה responseמכיל מופע מעודכן שלSubscription.
היקפי הרשאה
נדרש אחד מהיקפי ההרשאות הבאים של OAuth:
- https://www.googleapis.com/auth/chat.spaces
- https://www.googleapis.com/auth/chat.spaces.readonly
- https://www.googleapis.com/auth/chat.messages
- https://www.googleapis.com/auth/chat.messages.readonly
- https://www.googleapis.com/auth/chat.messages.reactions
- https://www.googleapis.com/auth/chat.messages.reactions.readonly
- https://www.googleapis.com/auth/chat.memberships
- https://www.googleapis.com/auth/chat.memberships.readonly
- https://www.googleapis.com/auth/chat.app.memberships
- https://www.googleapis.com/auth/chat.app.messages.readonly
- https://www.googleapis.com/auth/chat.app.spaces
- https://www.googleapis.com/auth/meetings.space.created
- https://www.googleapis.com/auth/meetings.space.readonly
- https://www.googleapis.com/auth/drive
- https://www.googleapis.com/auth/drive.file
- https://www.googleapis.com/auth/drive.metadata
- https://www.googleapis.com/auth/drive.metadata.readonly
- https://www.googleapis.com/auth/drive.readonly
מידע נוסף זמין במדריך ההרשאות.