Table of Contents

Class UsersResource.SettingsResource

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

The "settings" collection of methods.

public class UsersResource.SettingsResource
Inheritance
UsersResource.SettingsResource
Inherited Members

Constructors

SettingsResource(IClientService)

Constructs a new resource.

public SettingsResource(IClientService service)

Parameters

service IClientService

Properties

Delegates

Gets the Delegates resource.

public virtual UsersResource.SettingsResource.DelegatesResource Delegates { get; }

Property Value

UsersResource.SettingsResource.DelegatesResource

Filters

Gets the Filters resource.

public virtual UsersResource.SettingsResource.FiltersResource Filters { get; }

Property Value

UsersResource.SettingsResource.FiltersResource

ForwardingAddresses

Gets the ForwardingAddresses resource.

public virtual UsersResource.SettingsResource.ForwardingAddressesResource ForwardingAddresses { get; }

Property Value

UsersResource.SettingsResource.ForwardingAddressesResource

SendAs

Gets the SendAs resource.

public virtual UsersResource.SettingsResource.SendAsResource SendAs { get; }

Property Value

UsersResource.SettingsResource.SendAsResource

Methods

GetAutoForwarding(string)

Gets the auto-forwarding setting for the specified account.

public virtual UsersResource.SettingsResource.GetAutoForwardingRequest GetAutoForwarding(string userId)

Parameters

userId string

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

Returns

UsersResource.SettingsResource.GetAutoForwardingRequest

GetImap(string)

Gets IMAP settings.

public virtual UsersResource.SettingsResource.GetImapRequest GetImap(string userId)

Parameters

userId string

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

Returns

UsersResource.SettingsResource.GetImapRequest

GetLanguage(string)

Gets language settings.

public virtual UsersResource.SettingsResource.GetLanguageRequest GetLanguage(string userId)

Parameters

userId string

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

Returns

UsersResource.SettingsResource.GetLanguageRequest

GetPop(string)

Gets POP settings.

public virtual UsersResource.SettingsResource.GetPopRequest GetPop(string userId)

Parameters

userId string

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

Returns

UsersResource.SettingsResource.GetPopRequest

GetVacation(string)

Gets vacation responder settings.

public virtual UsersResource.SettingsResource.GetVacationRequest GetVacation(string userId)

Parameters

userId string

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

Returns

UsersResource.SettingsResource.GetVacationRequest

UpdateAutoForwarding(AutoForwarding, string)

Updates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled. This method is only available to service account clients that have been delegated domain-wide authority.

public virtual UsersResource.SettingsResource.UpdateAutoForwardingRequest UpdateAutoForwarding(AutoForwarding body, string userId)

Parameters

body AutoForwarding

The body of the request.

userId string

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

Returns

UsersResource.SettingsResource.UpdateAutoForwardingRequest

UpdateImap(ImapSettings, string)

Updates IMAP settings.

public virtual UsersResource.SettingsResource.UpdateImapRequest UpdateImap(ImapSettings body, string userId)

Parameters

body ImapSettings

The body of the request.

userId string

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

Returns

UsersResource.SettingsResource.UpdateImapRequest

UpdateLanguage(LanguageSettings, string)

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 virtual UsersResource.SettingsResource.UpdateLanguageRequest UpdateLanguage(LanguageSettings body, string userId)

Parameters

body LanguageSettings

The body of the request.

userId string

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

Returns

UsersResource.SettingsResource.UpdateLanguageRequest

UpdatePop(PopSettings, string)

Updates POP settings.

public virtual UsersResource.SettingsResource.UpdatePopRequest UpdatePop(PopSettings body, string userId)

Parameters

body PopSettings

The body of the request.

userId string

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

Returns

UsersResource.SettingsResource.UpdatePopRequest

UpdateVacation(VacationSettings, string)

Updates vacation responder settings.

public virtual UsersResource.SettingsResource.UpdateVacationRequest UpdateVacation(VacationSettings body, string userId)

Parameters

body VacationSettings

The body of the request.

userId string

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

Returns

UsersResource.SettingsResource.UpdateVacationRequest