성공하면 반환 객체에 사용자에게 저장된 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"]],["최종 업데이트: 2025-07-25(UTC)"],[],[],null,["# Method: users.settings.updateLanguage\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates language settings.\n\nIf successful, the return object contains the `displayLanguage` that was saved for the user, which may differ from the value passed into the request. This is because the requested `displayLanguage` may not be directly supported by Gmail but have a close variant that is, and so the variant may be chosen and saved instead.\n\n### HTTP request\n\n`PUT https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/language`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------------|\n| `userId` | `string` User's email address. The special value \"me\" can be used to indicate the authenticated user. |\n\n### Request body\n\nThe request body contains an instance of [LanguageSettings](/workspace/gmail/api/reference/rest/v1/LanguageSettings).\n\n### Response body\n\nIf successful, the response body contains an instance of [LanguageSettings](/workspace/gmail/api/reference/rest/v1/LanguageSettings).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/gmail.settings.basic`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]