Table of Contents

Class UsersResource.SettingsResource.UpdateLanguageRequest

Namespace
Google.Apis.Gmail.v1
Assembly
Google.Apis.Gmail.v1.dll

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.

public class UsersResource.SettingsResource.UpdateLanguageRequest : GmailBaseServiceRequest<LanguageSettings>
Inheritance
UsersResource.SettingsResource.UpdateLanguageRequest
Inherited Members

Constructors

UpdateLanguageRequest(IClientService, LanguageSettings, string)

Constructs a new UpdateLanguage request.

public UpdateLanguageRequest(IClientService service, LanguageSettings body, string userId)

Parameters

service IClientService
body LanguageSettings
userId string

Properties

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

UserId

User's email address. The special value "me" can be used to indicate the authenticated user.

public virtual string UserId { get; }

Property Value

string

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes UpdateLanguage parameter list.

protected override void InitParameters()