Method: users.settings.updateImap
בקשת HTTP
PUT https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/imap
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
userId |
string
זוהי כתובת האימייל של המשתמש. ניתן להשתמש בערך המיוחד 'me' כדי לציין את המשתמש המאומת.
|
גוף הבקשה
גוף הבקשה מכיל מופע של ImapSettings
.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של ImapSettings
.
היקפי הרשאות
נדרש היקף OAuth הבא:
https://www.googleapis.com/auth/gmail.settings.basic
למידע נוסף, ניתן לעיין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]