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

ValueDescriptor

import type { ValueDescriptor } from "https://googleapis.deno.dev/v1/monitoring:v3.ts";

A descriptor for the value columns in a data point.

interface ValueDescriptor {
key?: string;
metricKind?:
| "METRIC_KIND_UNSPECIFIED"
| "GAUGE"
| "DELTA"
| "CUMULATIVE";
unit?: string;
valueType?:
| "VALUE_TYPE_UNSPECIFIED"
| "BOOL"
| "INT64"
| "DOUBLE"
| "STRING"
| "DISTRIBUTION"
| "MONEY";
}

§Properties

§
key?: string
[src]

The value key.

§
metricKind?: "METRIC_KIND_UNSPECIFIED" | "GAUGE" | "DELTA" | "CUMULATIVE"
[src]

The value stream kind.

§
unit?: string
[src]

The unit in which time_series point values are reported. unit follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. unit is only valid if value_type is INTEGER, DOUBLE, DISTRIBUTION.

§
valueType?: "VALUE_TYPE_UNSPECIFIED" | "BOOL" | "INT64" | "DOUBLE" | "STRING" | "DISTRIBUTION" | "MONEY"
[src]

The value type.