Table of Contents

Class UsersResource.MessagesResource.GetRequest

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

Gets the specified message.

public class UsersResource.MessagesResource.GetRequest : GmailBaseServiceRequest<Message>
Inheritance
UsersResource.MessagesResource.GetRequest
Inherited Members

Constructors

GetRequest(IClientService, string, string)

Constructs a new Get request.

public GetRequest(IClientService service, string userId, string id)

Parameters

service IClientService
userId string
id string

Properties

Format

The format to return the message in.

public virtual UsersResource.MessagesResource.GetRequest.FormatEnum? Format { get; set; }

Property Value

UsersResource.MessagesResource.GetRequest.FormatEnum?

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

Id

The ID of the message to retrieve.

public virtual string Id { get; }

Property Value

string

MetadataHeaders

When given and format is METADATA, only include headers specified.

public virtual Repeatable<string> MetadataHeaders { get; set; }

Property Value

Repeatable<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

InitParameters()

Initializes Get parameter list.

protected override void InitParameters()