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

GoogleCloudIntegrationsV1alphaFailurePolicy

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

Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a retry_strategy of NONE will be applied).

interface GoogleCloudIntegrationsV1alphaFailurePolicy {
intervalTime?: Date;
maxRetries?: number;
retryStrategy?:
| "RETRY_STRATEGY_UNSPECIFIED"
| "IGNORE"
| "NONE"
| "FATAL"
| "FIXED_INTERVAL"
| "LINEAR_BACKOFF"
| "EXPONENTIAL_BACKOFF"
| "RESTART_INTEGRATION_WITH_BACKOFF";
}

§Properties

§
intervalTime?: Date
[src]

Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.

§
maxRetries?: number
[src]

Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.

§
retryStrategy?: "RETRY_STRATEGY_UNSPECIFIED" | "IGNORE" | "NONE" | "FATAL" | "FIXED_INTERVAL" | "LINEAR_BACKOFF" | "EXPONENTIAL_BACKOFF" | "RESTART_INTEGRATION_WITH_BACKOFF"
[src]

Defines what happens to the task upon failure.