Method: users.spaces.spaceNotificationSetting.patch
עדכון ההגדרות של מצב ההתראות במרחב המשותף.נדרש אימות משתמש.
בקשת HTTP
PATCH https://chat.googleapis.com/v1/{spaceNotificationSetting.name=users/*/spaces/*/spaceNotificationSetting}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
spaceNotificationSetting.name |
string
מזהה. שם המשאב של הגדרת ההתראות של המרחב המשותף. פורמט: users/{user}/spaces/{space}/spaceNotificationSetting
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
חובה. נתיבי שדות נתמכים: - notificationSetting - muteSetting
|
גוף הבקשה
גוף הבקשה מכיל מופע של SpaceNotificationSetting
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של SpaceNotificationSetting
.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/chat.users.spacesettings
מידע נוסף זמין במדריך להרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-10 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-10 (שעון UTC)."],[[["This feature updates space notification state settings in Google Chat, allowing users to customize their notification preferences."],["Users can modify notification settings and mute settings for specific spaces."],["Requires user authentication and authorization with the `chat.users.spacesettings` scope."],["Developers can access this feature as part of the Google Workspace Developer Preview Program."],["Utilizes a PATCH request and gRPC Transcoding syntax for updating space notification settings."]]],[]]