Method: users.settings.updateImap
आईएमएपी सेटिंग अपडेट करता है.
एचटीटीपी अनुरोध
PUT https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/imap
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
userId |
string
उपयोगकर्ता का ईमेल पता. खास वैल्यू "मैं" का इस्तेमाल, पुष्टि किए गए उपयोगकर्ता को दिखाने के लिए किया जा सकता है.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में ImapSettings
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में ImapSettings
का एक इंस्टेंस शामिल किया जाता है.
अनुमति देने के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/gmail.settings.basic
ज़्यादा जानकारी के लिए, अनुमति देने से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-05 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-05 (UTC) को अपडेट किया गया."],[[["Updates the user's IMAP settings in Gmail."],["Uses a PUT request to the `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/imap` endpoint."],["Requires the `https://www.googleapis.com/auth/gmail.settings.basic` OAuth scope for authorization."],["The request body and successful response body both contain an instance of ImapSettings."]]],["This content describes updating IMAP settings via a `PUT` request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/imap`. The `userId` path parameter, which can be \"me\", specifies the user. The request body, and the successful response body, both contain `ImapSettings`. This action requires the `https://www.googleapis.com/auth/gmail.settings.basic` authorization scope. The request format follows gRPC Transcoding syntax.\n"]]