Table of Contents

Class UsersResource.DraftsResource.SendRequest

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

Sends the specified, existing draft to the recipients in the To, Cc, and Bcc headers.

public class UsersResource.DraftsResource.SendRequest : GmailBaseServiceRequest<Message>
Inheritance
UsersResource.DraftsResource.SendRequest
Inherited Members

Constructors

SendRequest(IClientService, Draft, string)

Constructs a new Send request.

public SendRequest(IClientService service, Draft body, string userId)

Parameters

service IClientService
body Draft
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

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 Send parameter list.

protected override void InitParameters()