PopSettings
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
フィールド |
accessWindow |
enum (AccessWindow )
POP 経由でアクセスできるメッセージの範囲。
|
disposition |
enum (Disposition )
POP 経由で取得されたメールに対して実行されるアクション。
|
AccessWindow
列挙型 |
accessWindowUnspecified |
範囲が指定されていません。 |
disabled |
POP 経由でアクセスできるメールがないことを示します。 |
fromNowOn |
過去のある時点以降に受信したフェッチされていないメッセージに POP 経由でアクセスできることを示します。 |
allMail |
フェッチされていないすべてのメールに POP 経由でアクセスできることを示します。 |
Disposition
POP を介して取得されたメールに対して 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,["# PopSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [AccessWindow](#AccessWindow)\n- [Disposition](#Disposition)\n\nPOP settings for an account.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"accessWindow\": enum (/workspace/gmail/api/reference/rest/v1/PopSettings#AccessWindow), \"disposition\": enum (/workspace/gmail/api/reference/rest/v1/PopSettings#Disposition) } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `accessWindow` | `enum (`[AccessWindow](/workspace/gmail/api/reference/rest/v1/PopSettings#AccessWindow)`)` The range of messages which are accessible via POP. |\n| `disposition` | `enum (`[Disposition](/workspace/gmail/api/reference/rest/v1/PopSettings#Disposition)`)` The action that will be executed on a message after it has been fetched via POP. |\n\nAccessWindow\n------------\n\nA range of messages that are accessible via POP.\n\n| Enums ||\n|---------------------------|--------------------------------------------------------------------------------------------------|\n| `accessWindowUnspecified` | Unspecified range. |\n| `disabled` | Indicates that no messages are accessible via POP. |\n| `fromNowOn` | Indicates that unfetched messages received after some past point in time are accessible via POP. |\n| `allMail` | Indicates that all unfetched messages are accessible via POP. |\n\nDisposition\n-----------\n\nSpecifies what Gmail should do with a message after it has been fetched via POP.\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. |"]]