אם הפעולה בוצעה בהצלחה, האובייקט המוחזר מכיל את ה-displayLanguage שנשמר עבור המשתמש, שעשוי להיות שונה מהערך שהועבר לבקשה. הסיבה לכך היא שייתכן ש-displayLanguage המבוקש לא נתמך באופן ישיר על ידי Gmail, אבל יש לו וריאציה קרובה, ולכן ייתכן שהווריאציה תיבחר ותשמור במקומה.
בקשת HTTP
PUT https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/language
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-09-05 (שעון UTC)."],[[["Updates the language settings for a Gmail user, potentially using a close variant if the requested language isn't directly supported."],["Requires a PUT request to a specific endpoint with the user's email address as a path parameter."],["The request body and successful response body both utilize the LanguageSettings object."],["Needs authorization with the `https://www.googleapis.com/auth/gmail.settings.basic` scope."]]],["This content details updating language settings for a user via the Gmail API. A `PUT` request is sent to a specific URL (`https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/language`), using the user's email or \"me\" as a `userId` path parameter. The request and response body both use a `LanguageSettings` object. The required authorization scope is `https://www.googleapis.com/auth/gmail.settings.basic`. The server might return a different `displayLanguage` than requested if a closer variant is available.\n"]]