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

RetryAttempt

import type { RetryAttempt } from "https://googleapis.deno.dev/v1/clouddeploy:v1.ts";

RetryAttempt represents an action of retrying the failed Cloud Deploy job.

interface RetryAttempt {
readonly attempt?: bigint;
readonly state?:
| "REPAIR_STATE_UNSPECIFIED"
| "REPAIR_STATE_SUCCEEDED"
| "REPAIR_STATE_CANCELLED"
| "REPAIR_STATE_FAILED"
| "REPAIR_STATE_IN_PROGRESS"
| "REPAIR_STATE_PENDING"
| "REPAIR_STATE_SKIPPED"
| "REPAIR_STATE_ABORTED";
readonly stateDesc?: string;
readonly wait?: number;
}

§Properties

§
readonly attempt?: bigint
[src]

Output only. The index of this retry attempt.

§
readonly state?: "REPAIR_STATE_UNSPECIFIED" | "REPAIR_STATE_SUCCEEDED" | "REPAIR_STATE_CANCELLED" | "REPAIR_STATE_FAILED" | "REPAIR_STATE_IN_PROGRESS" | "REPAIR_STATE_PENDING" | "REPAIR_STATE_SKIPPED" | "REPAIR_STATE_ABORTED"
[src]

Output only. Valid state of this retry action.

§
readonly stateDesc?: string
[src]

Output only. Description of the state of the Retry.

§
readonly wait?: number
[src]

Output only. How long the operation will be paused.