في حال نجاح هذا الإجراء، يحتوي كائن العرض على عنصر "displayLanguage" الذي تم حفظه للمستخدم، والذي قد يختلف عن القيمة التي تم تمريرها في الطلب. ويرجع ذلك إلى أنّ displayLanguage المطلوب قد لا يكون متوافقًا بشكلٍ مباشر مع Gmail، ولكنه يتضمّن صيغة قريبة منه، وبالتالي قد يتم اختيار الصيغة وحفظها بدلاً من ذلك.
طلب HTTP
PUT https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/language
تاريخ التعديل الأخير: 2024-09-05 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]