Table of Contents

Class UsersResource.ThreadsResource.ListRequest

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

Lists the threads in the user's mailbox.

public class UsersResource.ThreadsResource.ListRequest : GmailBaseServiceRequest<ListThreadsResponse>
Inheritance
UsersResource.ThreadsResource.ListRequest
Inherited Members

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

public ListRequest(IClientService service, string userId)

Parameters

service IClientService
userId string

Properties

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

IncludeSpamTrash

Include threads from SPAM and TRASH in the results.

public virtual bool? IncludeSpamTrash { get; set; }

Property Value

bool?

LabelIds

Only return threads with labels that match all of the specified label IDs.

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

Property Value

Repeatable<string>

MaxResults

Maximum number of threads to return.

public virtual long? MaxResults { get; set; }

Property Value

long?

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

PageToken

Page token to retrieve a specific page of results in the list.

public virtual string PageToken { get; set; }

Property Value

string

Q

Only return threads matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread". Parameter cannot be used when accessing the api using the gmail.metadata scope.

public virtual string Q { get; set; }

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

protected override void InitParameters()