Skip to main content

filters

Overview

Namefilters
TypeResource
Idgoogleworkspace.gmail.filters

Fields

NameDatatypeDescription
idstringThe server assigned ID of the filter.
actionobjectA set of actions to perform on a message.
criteriaobjectMessage matching criteria.

Methods

NameAccessible byRequired ParamsDescription
users_settings_filters_getSELECTid, userIdGets a filter.
users_settings_filters_listSELECTuserIdLists the message filters of a Gmail user.
users_settings_filters_createINSERTuserIdCreates a filter. Note: you can only create a maximum of 1,000 filters.
users_settings_filters_deleteDELETEid, userIdImmediately and permanently deletes the specified filter.