Method: users.spaces.spaceNotificationSetting.get
एचटीटीपी अनुरोध
GET https://chat.googleapis.com/v1/{name=users/*/spaces/*/spaceNotificationSetting}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. फ़ॉर्मैट: users/{user}/spaces/{space}/spaceNotification दिलचस्पी
users/me/spaces/{space}/spaceNotificationSetting या
users/user@example.com/spaces/{space}/spaceNotificationSetting या
users/123456789/spaces/{space}/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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-10 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-10 (UTC) को अपडेट किया गया."],[[["Retrieves the notification settings for a specific Google Chat space for the authenticated user."],["Requires providing the user and space identifiers in the request URL."],["Returns a `SpaceNotificationSetting` object containing the space's notification configuration details upon successful execution."],["Needs authorization with the `https://www.googleapis.com/auth/chat.users.spacesettings` scope for access."],["Available as part of the Google Workspace Developer Preview Program."]]],["This document details how to retrieve space notification settings via an HTTP GET request. The request URL, `https://chat.googleapis.com/v1/{name=users/*/spaces/*/spaceNotificationSetting}`, uses gRPC Transcoding, requiring a `name` path parameter specifying the user and space. The request body must be empty. A successful request returns a `SpaceNotificationSetting` instance, and requires user authentication and the `https://www.googleapis.com/auth/chat.users.spacesettings` OAuth scope. This feature is part of the Google Workspace Developer Preview Program.\n"]]