Method: users.settings.sendAs.get
নির্দিষ্ট পাঠান-উনাম হিসাবে পায়। একটি HTTP 404 ত্রুটির সাথে ব্যর্থ হয় যদি নির্দিষ্ট ঠিকানাটি সংগ্রহের সদস্য না হয়৷
HTTP অনুরোধ
GET https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
userId | string ব্যবহারকারীর ইমেল ঠিকানা। বিশেষ মান "me" প্রমাণীকৃত ব্যবহারকারী নির্দেশ করতে ব্যবহার করা যেতে পারে। |
sendAsEmail | string পুনরুদ্ধার করার জন্য পাঠান উপনাম। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে SendAs
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত 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 সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-09-05 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-09-05 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Retrieves a specific send-as alias for a Gmail user using their email address."],["The request requires specifying the user's email address and the send-as alias email in the URL."],["An empty request body is necessary, and a successful response returns the details of the send-as alias."],["Authorization is required with one of the specified OAuth scopes, including access to Gmail settings or general Gmail access."]]],["This outlines retrieving a \"send-as\" alias via a `GET` request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}`. The `userId` and `sendAsEmail` are path parameters, where \"me\" can replace the user's email. The request body must be empty. Successful requests return a `SendAs` instance, otherwise, a 404 error will occur if the alias is not found. One of the four listed OAuth scopes is required for authorization.\n"]]