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
§
location?: string
[src]The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.
§
unifiedWorkerRequest?: {}
[src][key: string]: any;
Untranslated bag-of-bytes WorkRequest from UnifiedWorker.
§
workerCapabilities?: string[]
[src]Worker capabilities. WorkItems might be limited to workers with specific capabilities.