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

MetricFilter

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

MetricFilter specifies the filter on a metric.

interface MetricFilter {
comparisonValue?: string;
metricName?: string;
not?: boolean;
operator?:
| "OPERATOR_UNSPECIFIED"
| "EQUAL"
| "LESS_THAN"
| "GREATER_THAN"
| "IS_MISSING";
}

§Properties

§
comparisonValue?: string
[src]

The value to compare against.

§
metricName?: string
[src]

The metric that will be filtered on. A metricFilter must contain a metric name. A metric name can be an alias earlier defined as a metric or it can also be a metric expression.

§
not?: boolean
[src]

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

§
operator?: "OPERATOR_UNSPECIFIED" | "EQUAL" | "LESS_THAN" | "GREATER_THAN" | "IS_MISSING"
[src]

Is the metric EQUAL, LESS_THAN or GREATER_THAN the comparisonValue, the default is EQUAL. If the operator is IS_MISSING, checks if the metric is missing and would ignore the comparisonValue.