Method: users.settings.forwardingAddresses.get
फ़ॉरवर्ड करने के लिए तय किए गए पते पर पहुंचता है.
एचटीटीपी अनुरोध
GET https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
userId |
string
उपयोगकर्ता का ईमेल पता. खास वैल्यू "मैं" का इस्तेमाल, पुष्टि किए गए उपयोगकर्ता को दिखाने के लिए किया जा सकता है.
|
forwardingEmail |
string
वह पता जिसे फ़ॉरवर्ड करना है.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में ForwardingAddress
का एक इंस्टेंस शामिल किया जाता है.
अनुमति देने के दायरे
इनमें से कोई एक 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 specific forwarding address for a Gmail user using their email address and the forwarding address."],["Requires an empty request body and returns a ForwardingAddress object upon successful execution."],["Needs authorization with specific OAuth scopes, including 'gmail.settings.basic', 'mail.google.com', 'gmail.modify', or 'gmail.readonly'."],["Utilizes a GET request with path parameters for user ID and forwarding email, adhering to gRPC Transcoding syntax."]]],["This document outlines how to retrieve a specific forwarding address using a GET request. The request URL structure is `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}`, where `userId` is the user's email or \"me,\" and `forwardingEmail` is the target address. The request body must be empty. A successful request returns a `ForwardingAddress` instance in the response body. The request needs authorization with one of the specified OAuth scopes.\n"]]