Modifier and Type | Class and Description |
---|---|
class |
Gmail.Users.Drafts
The "drafts" collection of methods.
|
class |
Gmail.Users.GetProfile |
class |
Gmail.Users.History
The "history" collection of methods.
|
class |
Gmail.Users.Labels
The "labels" collection of methods.
|
class |
Gmail.Users.Messages
The "messages" collection of methods.
|
class |
Gmail.Users.Settings
The "settings" collection of methods.
|
class |
Gmail.Users.Stop |
class |
Gmail.Users.Threads
The "threads" collection of methods.
|
class |
Gmail.Users.Watch |
Constructor and Description |
---|
Users() |
Modifier and Type | Method and Description |
---|---|
Gmail.Users.Drafts |
drafts()
An accessor for creating requests from the Drafts collection.
|
Gmail.Users.GetProfile |
getProfile(String userId)
Gets the current user's Gmail profile.
|
Gmail.Users.History |
history()
An accessor for creating requests from the History collection.
|
Gmail.Users.Labels |
labels()
An accessor for creating requests from the Labels collection.
|
Gmail.Users.Messages |
messages()
An accessor for creating requests from the Messages collection.
|
Gmail.Users.Settings |
settings()
An accessor for creating requests from the Settings collection.
|
Gmail.Users.Stop |
stop(String userId)
Stop receiving push notifications for the given user mailbox.
|
Gmail.Users.Threads |
threads()
An accessor for creating requests from the Threads collection.
|
Gmail.Users.Watch |
watch(String userId,
WatchRequest content)
Set up or update a push notification watch on the given user mailbox.
|
public Gmail.Users.GetProfile getProfile(String userId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userId
- The user's email address. The special value `me` can be used to indicate the authenticated user.
[default: me]IOException
public Gmail.Users.Stop stop(String userId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userId
- The user's email address. The special value `me` can be used to indicate the authenticated user.
[default: me]IOException
public Gmail.Users.Watch watch(String userId, WatchRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userId
- The user's email address. The special value `me` can be used to indicate the authenticated user.
[default: me]content
- the WatchRequest
IOException
public Gmail.Users.Drafts drafts()
The typical use is:
Gmail gmail = new Gmail(...);
Gmail.Drafts.List request = gmail.drafts().list(parameters ...)
public Gmail.Users.History history()
The typical use is:
Gmail gmail = new Gmail(...);
Gmail.History.List request = gmail.history().list(parameters ...)
public Gmail.Users.Labels labels()
The typical use is:
Gmail gmail = new Gmail(...);
Gmail.Labels.List request = gmail.labels().list(parameters ...)
public Gmail.Users.Messages messages()
The typical use is:
Gmail gmail = new Gmail(...);
Gmail.Messages.List request = gmail.messages().list(parameters ...)
public Gmail.Users.Settings settings()
The typical use is:
Gmail gmail = new Gmail(...);
Gmail.Settings.List request = gmail.settings().list(parameters ...)
public Gmail.Users.Threads threads()
The typical use is:
Gmail gmail = new Gmail(...);
Gmail.Threads.List request = gmail.threads().list(parameters ...)
Copyright © 2011–2024 Google. All rights reserved.