Jika berhasil, objek yang ditampilkan berisi displayLanguage yang disimpan untuk pengguna, yang mungkin berbeda dari nilai yang diteruskan ke permintaan. Hal ini karena displayLanguage yang diminta mungkin tidak langsung didukung oleh Gmail, tetapi memiliki varian yang mirip, sehingga varian dapat dipilih dan disimpan.
Permintaan HTTP
PUT https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/language
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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."]]],[]]