Method: users.settings.forwardingAddresses.get
HTTP リクエスト
GET https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
userId |
string
ユーザーのメールアドレス。特別な値「me」を使用して、認証済みユーザーを示すことができます。
|
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
詳細については、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 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"]]