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

LeaseWorkItemRequest

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

Request to lease WorkItems.

interface LeaseWorkItemRequest {
currentWorkerTime?: Date;
location?: string;
requestedLeaseDuration?: number;
unifiedWorkerRequest?: {
[key: string]: any;
}
;
workerCapabilities?: string[];
workerId?: string;
workItemTypes?: string[];
}

§Properties

§
currentWorkerTime?: Date
[src]

The current timestamp at the worker.

§
location?: string
[src]

The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.

§
requestedLeaseDuration?: number
[src]

The initial lease period.

§
unifiedWorkerRequest?: {
[key: string]: any;
}
[src]

Untranslated bag-of-bytes WorkRequest from UnifiedWorker.

§
workerCapabilities?: string[]
[src]

Worker capabilities. WorkItems might be limited to workers with specific capabilities.

§
workerId?: string
[src]

Identifies the worker leasing work -- typically the ID of the virtual machine running the worker.

§
workItemTypes?: string[]
[src]

Filter for WorkItem type.