Table of Contents

Class UsersResource.SettingsResource.UpdateAutoForwardingRequest

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

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 class UsersResource.SettingsResource.UpdateAutoForwardingRequest : GmailBaseServiceRequest<AutoForwarding>
Inheritance
UsersResource.SettingsResource.UpdateAutoForwardingRequest
Inherited Members

Constructors

UpdateAutoForwardingRequest(IClientService, AutoForwarding, string)

Constructs a new UpdateAutoForwarding request.

public UpdateAutoForwardingRequest(IClientService service, AutoForwarding body, string userId)

Parameters

service IClientService
body AutoForwarding
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 UpdateAutoForwarding parameter list.

protected override void InitParameters()