Table of Contents

Class UsersResource.DraftsResource.UpdateRequest

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

Replaces a draft's content.

public class UsersResource.DraftsResource.UpdateRequest : GmailBaseServiceRequest<Draft>
Inheritance
UsersResource.DraftsResource.UpdateRequest
Inherited Members

Constructors

UpdateRequest(IClientService, Draft, string, string)

Constructs a new Update request.

public UpdateRequest(IClientService service, Draft body, string userId, string id)

Parameters

service IClientService
body Draft
userId string
id string

Properties

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

Id

The ID of the draft to update.

public virtual string Id { 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

The 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 Update parameter list.

protected override void InitParameters()