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

CounterUpdate

import type { CounterUpdate } from "https://googleapis.deno.dev/v1/dataflow:v1b3.ts";

An update to a Counter sent from a worker.

interface CounterUpdate {
boolean?: boolean;
cumulative?: boolean;
distribution?: DistributionUpdate;
floatingPoint?: number;
floatingPointList?: FloatingPointList;
floatingPointMean?: FloatingPointMean;
integer?: SplitInt64;
integerGauge?: IntegerGauge;
integerList?: IntegerList;
integerMean?: IntegerMean;
internal?: any;
nameAndKind?: NameAndKind;
shortId?: bigint;
stringList?: StringList;
structuredNameAndMetadata?: CounterStructuredNameAndMetadata;
}

§Properties

§
boolean?: boolean
[src]

Boolean value for And, Or.

§
cumulative?: boolean
[src]

True if this counter is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this counter is reported as a delta.

§

Distribution data

§
floatingPoint?: number
[src]

Floating point value for Sum, Max, Min.

§
floatingPointList?: FloatingPointList
[src]

List of floating point numbers, for Set.

§
floatingPointMean?: FloatingPointMean
[src]

Floating point mean aggregation value for Mean.

§
integer?: SplitInt64
[src]

Integer value for Sum, Max, Min.

§
integerGauge?: IntegerGauge
[src]

Gauge data

§
integerList?: IntegerList
[src]

List of integers, for Set.

§
integerMean?: IntegerMean
[src]

Integer mean aggregation value for Mean.

§
internal?: any
[src]

Value for internally-defined counters used by the Dataflow service.

§
nameAndKind?: NameAndKind
[src]

Counter name and aggregation type.

§
shortId?: bigint
[src]

The service-generated short identifier for this counter. The short_id -> (name, metadata) mapping is constant for the lifetime of a job.

§
stringList?: StringList
[src]

List of strings, for Set.

§
structuredNameAndMetadata?: CounterStructuredNameAndMetadata
[src]

Counter structured name and metadata.