View Source GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaFailurePolicy (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

  • condition (type: String.t, default: nil) - Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
  • intervalTime (type: DateTime.t, default: nil) - Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
  • maxRetries (type: integer(), default: nil) - 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 (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.GoogleCloudIntegrationsV1alphaFailurePolicy{
    condition: String.t() | nil,
    intervalTime: DateTime.t() | nil,
    maxRetries: integer() | nil,
    retryStrategy: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.