UpdateLanguage
Update language settings. If 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.
Stored Procedure Specific Information
Requires the following OAuth scope:
- https://www.googleapis.com/auth/gmail.settings.basic
Example query:
EXECUTE UpdateLanguage @displaylanguage='en'
Input
| Name | Type | Required | Description |
| DisplayLanguage | String | True | The language to display Gmail in, formatted as an RFC 3066 Language Tag (for example en-GB, fr or ja for British English, French, or Japanese respectively). |
Result Set Columns
| Name | Type | Description |
| Success | String | Whether the operation was successful or not. |