View Source GoogleApi.Integrations.V1alpha.Model.EnterpriseCrmEventbusProtoFailurePolicy (google_api_integrations v0.12.0)

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).

Attributes

  • intervalInSeconds (type: String.t, default: nil) - Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
  • maxNumRetries (type: integer(), default: nil) - 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 (type: String.t, default: nil) - Defines what happens to the task upon failure.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Integrations.V1alpha.Model.EnterpriseCrmEventbusProtoFailurePolicy{
    intervalInSeconds: String.t() | nil,
    maxNumRetries: integer() | nil,
    retryStrategy: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.