Table of Contents

Class UsersResource

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

The "users" collection of methods.

public class UsersResource
Inheritance
UsersResource
Inherited Members

Constructors

UsersResource(IClientService)

Constructs a new resource.

public UsersResource(IClientService service)

Parameters

service IClientService

Properties

Drafts

Gets the Drafts resource.

public virtual UsersResource.DraftsResource Drafts { get; }

Property Value

UsersResource.DraftsResource

History

Gets the History resource.

public virtual UsersResource.HistoryResource History { get; }

Property Value

UsersResource.HistoryResource

Labels

Gets the Labels resource.

public virtual UsersResource.LabelsResource Labels { get; }

Property Value

UsersResource.LabelsResource

Messages

Gets the Messages resource.

public virtual UsersResource.MessagesResource Messages { get; }

Property Value

UsersResource.MessagesResource

Settings

Gets the Settings resource.

public virtual UsersResource.SettingsResource Settings { get; }

Property Value

UsersResource.SettingsResource

Threads

Gets the Threads resource.

public virtual UsersResource.ThreadsResource Threads { get; }

Property Value

UsersResource.ThreadsResource

Methods

GetProfile(string)

Gets the current user's Gmail profile.

public virtual UsersResource.GetProfileRequest GetProfile(string userId)

Parameters

userId string

The user's email address. The special value me can be used to indicate the authenticated user.

Returns

UsersResource.GetProfileRequest

Stop(string)

Stop receiving push notifications for the given user mailbox.

public virtual UsersResource.StopRequest Stop(string userId)

Parameters

userId string

The user's email address. The special value me can be used to indicate the authenticated user.

Returns

UsersResource.StopRequest

Watch(WatchRequest, string)

Set up or update a push notification watch on the given user mailbox.

public virtual UsersResource.WatchRequest Watch(WatchRequest body, string userId)

Parameters

body WatchRequest

The body of the request.

userId string

The user's email address. The special value me can be used to indicate the authenticated user.

Returns

UsersResource.WatchRequest