Method: users.spaces.spaceNotificationSetting.patch
एचटीटीपी अनुरोध
PATCH https://chat.googleapis.com/v1/{spaceNotificationSetting.name=users/*/spaces/*/spaceNotificationSetting}
यूआरएल में 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 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-02-27 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-02-27 (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."]]],["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"]]