Class UsersResource.SettingsResource.UpdateLanguageRequest
Updates 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.
Inheritance
UsersResource.SettingsResource.UpdateLanguageRequest
Inherited Members
Namespace: Google.Apis.Gmail.v1
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class UsersResource.SettingsResource.UpdateLanguageRequest : GmailBaseServiceRequest<LanguageSettings>, IClientServiceRequest<LanguageSettings>, IClientServiceRequest
Constructors
UpdateLanguageRequest(IClientService, LanguageSettings, string)
Constructs a new UpdateLanguage request.
Declaration
public UpdateLanguageRequest(IClientService service, LanguageSettings body, string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| LanguageSettings | body | |
| string | userId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
UserId
User's email address. The special value "me" can be used to indicate the authenticated user.
Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes UpdateLanguage parameter list.
Declaration
protected override void InitParameters()