Method: users.settings.updateImap
HTTP リクエスト
PUT https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/imap
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
userId |
string
ユーザーのメールアドレス。特別な値「me」を使用して、認証済みユーザーを示すことができます。
|
リクエスト本文
リクエストの本文には ImapSettings
のインスタンスが含まれています。
レスポンスの本文
成功した場合、レスポンスの本文には ImapSettings
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/gmail.settings.basic
詳細については、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-05 UTC。
[null,null,["最終更新日 2024-09-05 UTC。"],[[["Updates the user's IMAP settings in Gmail."],["Uses a PUT request to the `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/imap` endpoint."],["Requires the `https://www.googleapis.com/auth/gmail.settings.basic` OAuth scope for authorization."],["The request body and successful response body both contain an instance of ImapSettings."]]],["This content describes updating IMAP settings via a `PUT` request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/imap`. The `userId` path parameter, which can be \"me\", specifies the user. The request body, and the successful response body, both contain `ImapSettings`. This action requires the `https://www.googleapis.com/auth/gmail.settings.basic` authorization scope. The request format follows gRPC Transcoding syntax.\n"]]