Method: users.spaces.spaceNotificationSetting.patch
درخواست HTTP
PATCH https://chat.googleapis.com/v1/{spaceNotificationSetting.name=users/*/spaces/*/spaceNotificationSetting}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
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 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-02-27 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-02-27 بهوقت ساعت هماهنگ جهانی."],[[["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"]]