Method: users.spaces.spaceNotificationSetting.patch
طلب HTTP
PATCH https://chat.googleapis.com/v1/{spaceNotificationSetting.name=users/*/spaces/*/spaceNotificationSetting}
يستخدِم عنوان URL بنية تحويل ترميز 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 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-10 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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."]]],["This API endpoint updates space notification settings via a PATCH request to `https://chat.googleapis.com/v1/{spaceNotificationSetting.name=users/*/spaces/*/spaceNotificationSetting}`. It requires user authentication and a specific OAuth scope. The `spaceNotificationSetting.name` is a path parameter, and `updateMask` is a query parameter. The request body and response body contain `SpaceNotificationSetting` instances. It's part of the Google Workspace Developer Preview Program, using gRPC Transcoding.\n"]]