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

EnterpriseCrmEventbusProtoFailurePolicy

import type { EnterpriseCrmEventbusProtoFailurePolicy } 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 EnterpriseCrmEventbusProtoFailurePolicy {
intervalInSeconds?: bigint;
maxNumRetries?: number;
retryStrategy?:
| "UNSPECIFIED"
| "IGNORE"
| "NONE"
| "FATAL"
| "FIXED_INTERVAL"
| "LINEAR_BACKOFF"
| "EXPONENTIAL_BACKOFF"
| "RESTART_WORKFLOW_WITH_BACKOFF";
}

§Properties

§
intervalInSeconds?: bigint
[src]

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

§
maxNumRetries?: number
[src]

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

§
retryStrategy?: "UNSPECIFIED" | "IGNORE" | "NONE" | "FATAL" | "FIXED_INTERVAL" | "LINEAR_BACKOFF" | "EXPONENTIAL_BACKOFF" | "RESTART_WORKFLOW_WITH_BACKOFF"
[src]

Defines what happens to the task upon failure.