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

DimensionFilter

import type { DimensionFilter } from "https://googleapis.deno.dev/v1/analyticsreporting:v4.ts";

Dimension filter specifies the filtering options on a dimension.

interface DimensionFilter {
caseSensitive?: boolean;
dimensionName?: string;
expressions?: string[];
not?: boolean;
operator?:
| "OPERATOR_UNSPECIFIED"
| "REGEXP"
| "BEGINS_WITH"
| "ENDS_WITH"
| "PARTIAL"
| "EXACT"
| "NUMERIC_EQUAL"
| "NUMERIC_GREATER_THAN"
| "NUMERIC_LESS_THAN"
| "IN_LIST";
}

§Properties

§
caseSensitive?: boolean
[src]

Should the match be case sensitive? Default is false.

§
dimensionName?: string
[src]

The dimension to filter on. A DimensionFilter must contain a dimension.

§
expressions?: string[]
[src]

Strings or regular expression to match against. Only the first value of the list is used for comparison unless the operator is IN_LIST. If IN_LIST operator, then the entire list is used to filter the dimensions as explained in the description of the IN_LIST operator.

§
not?: boolean
[src]

Logical NOT operator. If this boolean is set to true, then the matching dimension values will be excluded in the report. The default is false.

§
operator?: "OPERATOR_UNSPECIFIED" | "REGEXP" | "BEGINS_WITH" | "ENDS_WITH" | "PARTIAL" | "EXACT" | "NUMERIC_EQUAL" | "NUMERIC_GREATER_THAN" | "NUMERIC_LESS_THAN" | "IN_LIST"
[src]

How to match the dimension to the expression. The default is REGEXP.