public class Gmail.Users.Settings.Filters
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Gmail.Users.Settings.Filters.Create |
class |
Gmail.Users.Settings.Filters.Delete |
class |
Gmail.Users.Settings.Filters.Get |
class |
Gmail.Users.Settings.Filters.List |
| Constructor and Description |
|---|
Filters() |
| Modifier and Type | Method and Description |
|---|---|
Gmail.Users.Settings.Filters.Create |
create(java.lang.String userId,
Filter content)
Creates a filter.
|
Gmail.Users.Settings.Filters.Delete |
delete(java.lang.String userId,
java.lang.String id)
Deletes a filter.
|
Gmail.Users.Settings.Filters.Get |
get(java.lang.String userId,
java.lang.String id)
Gets a filter.
|
Gmail.Users.Settings.Filters.List |
list(java.lang.String userId)
Lists the message filters of a Gmail user.
|
public Gmail.Users.Settings.Filters.Create create(java.lang.String userId, Filter content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - User's email address. The special value "me" can be used to indicate the authenticated user.
[default: me]content - the Filterjava.io.IOExceptionpublic Gmail.Users.Settings.Filters.Delete delete(java.lang.String userId, java.lang.String id) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - User's email address. The special value "me" can be used to indicate the authenticated user.
[default: me]id - The ID of the filter to be deleted.java.io.IOExceptionpublic Gmail.Users.Settings.Filters.Get get(java.lang.String userId, java.lang.String id) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - User's email address. The special value "me" can be used to indicate the authenticated user.
[default: me]id - The ID of the filter to be fetched.java.io.IOExceptionpublic Gmail.Users.Settings.Filters.List list(java.lang.String userId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - User's email address. The special value "me" can be used to indicate the authenticated user.
[default: me]java.io.IOException