Method: users.settings.getImap
आईएमएपी सेटिंग लागू होती है.
एचटीटीपी अनुरोध
GET https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/imap
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
userId |
string
उपयोगकर्ता का ईमेल पता. खास वैल्यू "मैं" का इस्तेमाल, पुष्टि किए गए उपयोगकर्ता को दिखाने के लिए किया जा सकता है.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में ImapSettings
का एक इंस्टेंस शामिल किया जाता है.
अनुमति देने के दायरे
इनमें से कोई एक OAuth स्कोप ज़रूरी है:
https://www.googleapis.com/auth/gmail.settings.basic
https://mail.google.com/
https://www.googleapis.com/auth/gmail.modify
https://www.googleapis.com/auth/gmail.readonly
ज़्यादा जानकारी के लिए, अनुमति देने से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-05 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-05 (UTC) को अपडेट किया गया."],[[["Retrieves a user's IMAP settings through an HTTP GET request to a specified URL."],["Requires specifying the user's email address (or \"me\" for the authenticated user) as a path parameter."],["An empty request body is necessary, and a successful response returns an ImapSettings object."],["Authorization is required, utilizing one of the provided OAuth scopes for access control."]]],["The core content describes how to retrieve IMAP settings using a `GET` request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/imap`. The `userId` path parameter, either an email or \"me\", specifies the user. The request body must be empty. A successful response will return `ImapSettings`. Access requires one of four OAuth scopes, including `gmail.settings.basic`, `mail.google.com`, `gmail.modify`, or `gmail.readonly`. The URL utilizes gRPC Transcoding syntax.\n"]]