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

WorkItemDetails

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

Information about an individual work item execution.

interface WorkItemDetails {
attemptId?: string;
endTime?: Date;
metrics?: MetricUpdate[];
progress?: ProgressTimeseries;
startTime?: Date;
state?:
| "EXECUTION_STATE_UNKNOWN"
| "EXECUTION_STATE_NOT_STARTED"
| "EXECUTION_STATE_RUNNING"
| "EXECUTION_STATE_SUCCEEDED"
| "EXECUTION_STATE_FAILED"
| "EXECUTION_STATE_CANCELLED";
stragglerInfo?: StragglerInfo;
taskId?: string;
}

§Properties

§
attemptId?: string
[src]

Attempt ID of this work item

§
endTime?: Date
[src]

End time of this work item attempt. If the work item is completed, this is the actual end time of the work item. Otherwise, it is the predicted end time.

§
metrics?: MetricUpdate[]
[src]

Metrics for this work item.

§

Progress of this work item.

§
startTime?: Date
[src]

Start time of this work item attempt.

§
state?: "EXECUTION_STATE_UNKNOWN" | "EXECUTION_STATE_NOT_STARTED" | "EXECUTION_STATE_RUNNING" | "EXECUTION_STATE_SUCCEEDED" | "EXECUTION_STATE_FAILED" | "EXECUTION_STATE_CANCELLED"
[src]

State of this work item.

§
stragglerInfo?: StragglerInfo
[src]

Information about straggler detections for this work item.

§
taskId?: string
[src]

Name of this work item.