public class Gmail.Users.Settings.Filters extends 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(String userId,
Filter content)
Creates a filter.
|
Gmail.Users.Settings.Filters.Delete |
delete(String userId,
String id)
Immediately and permanently deletes the specified filter.
|
Gmail.Users.Settings.Filters.Get |
get(String userId,
String id)
Gets a filter.
|
Gmail.Users.Settings.Filters.List |
list(String userId)
Lists the message filters of a Gmail user.
|
public Gmail.Users.Settings.Filters.Create create(String userId, Filter content) throws 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 FilterIOExceptionpublic Gmail.Users.Settings.Filters.Delete delete(String userId, String id) throws 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.IOExceptionpublic Gmail.Users.Settings.Filters.Get get(String userId, String id) throws 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.IOExceptionpublic Gmail.Users.Settings.Filters.List list(String userId) throws 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]IOExceptionCopyright © 2011–2025 Google. All rights reserved.