AutoForwarding
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
JSON 表現 |
{
"enabled": boolean,
"emailAddress": string,
"disposition": enum (Disposition )
} |
フィールド |
enabled |
boolean
受信メールがすべて別のアドレスに自動転送されるかどうか。
|
emailAddress |
string
受信したすべてのメールが転送されるメールアドレス。このメールアドレスは、転送先のメールアドレスの確認済みメンバーである必要があります。
|
disposition |
enum (Disposition )
転送された後にメッセージが残される状態。
|
Disposition
メールが自動転送された後に Gmail が行う処理を指定します。
列挙型 |
dispositionUnspecified |
未指定の処理。 |
leaveInInbox |
INBOX にメッセージを残します。 |
archive |
メールをアーカイブします。 |
trash |
メッセージを TRASH に移動します。 |
markRead |
INBOX にメッセージを残し、既読にします。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# AutoForwarding\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Disposition](#Disposition)\n\nAuto-forwarding settings for an account.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"enabled\": boolean, \"emailAddress\": string, \"disposition\": enum (/workspace/gmail/api/reference/rest/v1/AutoForwarding#Disposition) } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `enabled` | `boolean` Whether all incoming mail is automatically forwarded to another address. |\n| `emailAddress` | `string` Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses. |\n| `disposition` | `enum (`[Disposition](/workspace/gmail/api/reference/rest/v1/AutoForwarding#Disposition)`)` The state that a message should be left in after it has been forwarded. |\n\nDisposition\n-----------\n\nSpecifies what Gmail should do with a message after it has been automatically forwarded.\n\n| Enums ||\n|--------------------------|-------------------------------------------------------|\n| `dispositionUnspecified` | Unspecified disposition. |\n| `leaveInInbox` | Leave the message in the `INBOX`. |\n| `archive` | Archive the message. |\n| `trash` | Move the message to the `TRASH`. |\n| `markRead` | Leave the message in the `INBOX` and mark it as read. |"]]