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

MetricHeader

import type { MetricHeader } from "https://googleapis.deno.dev/v1/analyticsdata:v1beta.ts";

Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.

interface MetricHeader {
name?: string;
type?:
| "METRIC_TYPE_UNSPECIFIED"
| "TYPE_INTEGER"
| "TYPE_FLOAT"
| "TYPE_SECONDS"
| "TYPE_MILLISECONDS"
| "TYPE_MINUTES"
| "TYPE_HOURS"
| "TYPE_STANDARD"
| "TYPE_CURRENCY"
| "TYPE_FEET"
| "TYPE_MILES"
| "TYPE_METERS"
| "TYPE_KILOMETERS";
}

§Properties

§
name?: string
[src]

The metric's name.

§
type?: "METRIC_TYPE_UNSPECIFIED" | "TYPE_INTEGER" | "TYPE_FLOAT" | "TYPE_SECONDS" | "TYPE_MILLISECONDS" | "TYPE_MINUTES" | "TYPE_HOURS" | "TYPE_STANDARD" | "TYPE_CURRENCY" | "TYPE_FEET" | "TYPE_MILES" | "TYPE_METERS" | "TYPE_KILOMETERS"
[src]

The metric's data type.