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

BatchOperationMetadata

import type { BatchOperationMetadata } from "https://googleapis.deno.dev/v1/jobs:v4.ts";

Metadata used for long running operations returned by CTS batch APIs. It's used to replace google.longrunning.Operation.metadata.

interface BatchOperationMetadata {
createTime?: Date;
endTime?: Date;
failureCount?: number;
state?:
| "STATE_UNSPECIFIED"
| "INITIALIZING"
| "PROCESSING"
| "SUCCEEDED"
| "FAILED"
| "CANCELLING"
| "CANCELLED";
stateDescription?: string;
successCount?: number;
totalCount?: number;
updateTime?: Date;
}

§Properties

§
createTime?: Date
[src]

The time when the batch operation is created.

§
endTime?: Date
[src]

The time when the batch operation is finished and google.longrunning.Operation.done is set to true.

§
failureCount?: number
[src]

Count of failed item(s) inside an operation.

§
state?: "STATE_UNSPECIFIED" | "INITIALIZING" | "PROCESSING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED"
[src]

The state of a long running operation.

§
stateDescription?: string
[src]

More detailed information about operation state.

§
successCount?: number
[src]

Count of successful item(s) inside an operation.

§
totalCount?: number
[src]

Count of total item(s) inside an operation.

§
updateTime?: Date
[src]

The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.