Class UsersResource.SettingsResource
The "settings" collection of methods.
Inherited Members
Namespace: Google.Apis.Gmail.v1
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class UsersResource.SettingsResource
Constructors
SettingsResource(IClientService)
Constructs a new resource.
Declaration
public SettingsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
Cse
Gets the Cse resource.
Declaration
public virtual UsersResource.SettingsResource.CseResource Cse { get; }
Property Value
| Type | Description |
|---|---|
| UsersResource.SettingsResource.CseResource |
Delegates
Gets the Delegates resource.
Declaration
public virtual UsersResource.SettingsResource.DelegatesResource Delegates { get; }
Property Value
| Type | Description |
|---|---|
| UsersResource.SettingsResource.DelegatesResource |
Filters
Gets the Filters resource.
Declaration
public virtual UsersResource.SettingsResource.FiltersResource Filters { get; }
Property Value
| Type | Description |
|---|---|
| UsersResource.SettingsResource.FiltersResource |
ForwardingAddresses
Gets the ForwardingAddresses resource.
Declaration
public virtual UsersResource.SettingsResource.ForwardingAddressesResource ForwardingAddresses { get; }
Property Value
| Type | Description |
|---|---|
| UsersResource.SettingsResource.ForwardingAddressesResource |
SendAs
Gets the SendAs resource.
Declaration
public virtual UsersResource.SettingsResource.SendAsResource SendAs { get; }
Property Value
| Type | Description |
|---|---|
| UsersResource.SettingsResource.SendAsResource |
Methods
GetAutoForwarding(string)
Gets the auto-forwarding setting for the specified account.
Declaration
public virtual UsersResource.SettingsResource.GetAutoForwardingRequest GetAutoForwarding(string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | userId | User's email address. The special value "me" can be used to indicate the authenticated user. |
Returns
| Type | Description |
|---|---|
| UsersResource.SettingsResource.GetAutoForwardingRequest |
GetImap(string)
Gets IMAP settings.
Declaration
public virtual UsersResource.SettingsResource.GetImapRequest GetImap(string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | userId | User's email address. The special value "me" can be used to indicate the authenticated user. |
Returns
| Type | Description |
|---|---|
| UsersResource.SettingsResource.GetImapRequest |
GetLanguage(string)
Gets language settings.
Declaration
public virtual UsersResource.SettingsResource.GetLanguageRequest GetLanguage(string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | userId | User's email address. The special value "me" can be used to indicate the authenticated user. |
Returns
| Type | Description |
|---|---|
| UsersResource.SettingsResource.GetLanguageRequest |
GetPop(string)
Gets POP settings.
Declaration
public virtual UsersResource.SettingsResource.GetPopRequest GetPop(string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | userId | User's email address. The special value "me" can be used to indicate the authenticated user. |
Returns
| Type | Description |
|---|---|
| UsersResource.SettingsResource.GetPopRequest |
GetVacation(string)
Gets vacation responder settings.
Declaration
public virtual UsersResource.SettingsResource.GetVacationRequest GetVacation(string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | userId | User's email address. The special value "me" can be used to indicate the authenticated user. |
Returns
| Type | Description |
|---|---|
| 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.
Declaration
public virtual UsersResource.SettingsResource.UpdateAutoForwardingRequest UpdateAutoForwarding(AutoForwarding body, string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| AutoForwarding | body | The body of the request. |
| string | userId | User's email address. The special value "me" can be used to indicate the authenticated user. |
Returns
| Type | Description |
|---|---|
| UsersResource.SettingsResource.UpdateAutoForwardingRequest |
UpdateImap(ImapSettings, string)
Updates IMAP settings.
Declaration
public virtual UsersResource.SettingsResource.UpdateImapRequest UpdateImap(ImapSettings body, string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| ImapSettings | body | The body of the request. |
| string | userId | User's email address. The special value "me" can be used to indicate the authenticated user. |
Returns
| Type | Description |
|---|---|
| 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.
Declaration
public virtual UsersResource.SettingsResource.UpdateLanguageRequest UpdateLanguage(LanguageSettings body, string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| LanguageSettings | body | The body of the request. |
| string | userId | User's email address. The special value "me" can be used to indicate the authenticated user. |
Returns
| Type | Description |
|---|---|
| UsersResource.SettingsResource.UpdateLanguageRequest |
UpdatePop(PopSettings, string)
Updates POP settings.
Declaration
public virtual UsersResource.SettingsResource.UpdatePopRequest UpdatePop(PopSettings body, string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| PopSettings | body | The body of the request. |
| string | userId | User's email address. The special value "me" can be used to indicate the authenticated user. |
Returns
| Type | Description |
|---|---|
| UsersResource.SettingsResource.UpdatePopRequest |
UpdateVacation(VacationSettings, string)
Updates vacation responder settings.
Declaration
public virtual UsersResource.SettingsResource.UpdateVacationRequest UpdateVacation(VacationSettings body, string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| VacationSettings | body | The body of the request. |
| string | userId | User's email address. The special value "me" can be used to indicate the authenticated user. |
Returns
| Type | Description |
|---|---|
| UsersResource.SettingsResource.UpdateVacationRequest |