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.
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
IClientServicebody
LanguageSettingsuserId
string
Properties
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
UserId
User's email address. The special value "me" can be used to indicate the authenticated user.
public virtual string UserId { get; }
Property Value
Methods
GetBody()
Returns the body of the request.
protected override object GetBody()
Returns
InitParameters()
Initializes UpdateLanguage parameter list.
protected override void InitParameters()