View Source GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoFailurePolicy (google_api_integrations v0.5.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.
  • retryCondition (type: String.t, default: nil) - Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
  • 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.V1.Model.EnterpriseCrmEventbusProtoFailurePolicy{
  intervalInSeconds: String.t() | nil,
  maxNumRetries: integer() | nil,
  retryCondition: String.t() | nil,
  retryStrategy: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.