Table of Contents

Class UsersResource.SettingsResource.SendAsResource.PatchRequest

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

Patch the specified send-as alias.

public class UsersResource.SettingsResource.SendAsResource.PatchRequest : GmailBaseServiceRequest<SendAs>
Inheritance
UsersResource.SettingsResource.SendAsResource.PatchRequest
Inherited Members

Constructors

PatchRequest(IClientService, SendAs, string, string)

Constructs a new Patch request.

public PatchRequest(IClientService service, SendAs body, string userId, string sendAsEmail)

Parameters

service IClientService
body SendAs
userId string
sendAsEmail 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

SendAsEmail

The send-as alias to be updated.

public virtual string SendAsEmail { 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 Patch parameter list.

protected override void InitParameters()