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

RetryPhase

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

RetryPhase contains the retry attempts and the metadata for initiating a new attempt.

interface RetryPhase {
readonly attempts?: RetryAttempt[];
readonly backoffMode?: "BACKOFF_MODE_UNSPECIFIED" | "BACKOFF_MODE_LINEAR" | "BACKOFF_MODE_EXPONENTIAL";
readonly jobId?: string;
readonly phaseId?: string;
readonly totalAttempts?: bigint;
}

§Properties

§
readonly attempts?: RetryAttempt[]
[src]

Output only. Detail of a retry action.

§
readonly backoffMode?: "BACKOFF_MODE_UNSPECIFIED" | "BACKOFF_MODE_LINEAR" | "BACKOFF_MODE_EXPONENTIAL"
[src]

Output only. The pattern of how the wait time of the retry attempt is calculated.

§
readonly jobId?: string
[src]

Output only. The job ID for the Job to retry.

§
readonly phaseId?: string
[src]

Output only. The phase ID of the phase that includes the job being retried.

§
readonly totalAttempts?: bigint
[src]

Output only. The number of attempts that have been made.