Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Filter

import type { Filter } from "https://googleapis.deno.dev/v1/gmail:v1.ts";

Resource definition for Gmail filters. Filters apply to specific messages instead of an entire email thread.

interface Filter {
action?: FilterAction;
criteria?: FilterCriteria;
id?: string;
}

§Properties

§

Action that the filter performs.

§

Matching criteria for the filter.

§
id?: string
[src]

The server assigned ID of the filter.