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

MetricDefinition

import type { MetricDefinition } from "https://googleapis.deno.dev/v1/gmailpostmastertools:v2.ts";

Defines a specific metric to query, including a user-defined name, the base metric type, and optional filters.

interface MetricDefinition {
baseMetric?: BaseMetric;
filter?: string;
name?: string;
}

§Properties

§
baseMetric?: BaseMetric
[src]

Required. The underlying metric to query.

§
filter?: string
[src]

Optional. Optional filters to apply to the metric.

§
name?: string
[src]

Required. The user-defined name for this metric. This name will be used as the key for this metric's value in the response.