Google: Gets a filter For more information, see Manage Gmail filters (https: developers google com workspace gmail api guides filter settings) — response body — action
Gets a filter. For more information, see [Manage Gmail filters](https://developers.google.com/workspace/gmail/api/guides/filter_settings).: response body, field action. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Gets a filter For more information, see Manage Gmail filters (https: developers google com workspace gmail api guides filter settings) — response body — action
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A set of actions to perform on a message. |
addLabelIds | array | Optional | List of labels to add to the message. |
addLabelIds[] | string | Each item | |
forward | string | Optional | Email address that the message should be forwarded to. This effectively redirects the message to the address specified in this field, maintaining the original sender in the “From” field. |
removeLabelIds | array | Optional | List of labels to remove from the message. |
removeLabelIds[] | string | Each item |