UsersSettingsFilters
class UsersSettingsFilters extends Resource (View source)
The "filters" collection of methods.
Typical usage is:
$gmailService = new Google\Service\Gmail(...);
$filters = $gmailService->users_settings_filters;
Methods
delete(string $userId, string $id, array $optParams = [])
Immediately and permanently deletes the specified filter. (filters.delete)
listUsersSettingsFilters(string $userId, array $optParams = [])
Lists the message filters of a Gmail user. (filters.listUsersSettingsFilters)
Details
Filter
create(string $userId, Filter $postBody, array $optParams = [])
Creates a filter. Note: you can only create a maximum of 1,000 filters.
(filters.create)
delete(string $userId, string $id, array $optParams = [])
Immediately and permanently deletes the specified filter. (filters.delete)
Filter
get(string $userId, string $id, array $optParams = [])
Gets a filter. (filters.get)
ListFiltersResponse
listUsersSettingsFilters(string $userId, array $optParams = [])
Lists the message filters of a Gmail user. (filters.listUsersSettingsFilters)