GoogleCloudIntegrationsV1alphaFailurePolicyArgs

data class GoogleCloudIntegrationsV1alphaFailurePolicyArgs(val intervalTime: Output<String>? = null, val maxRetries: Output<Int>? = null, val retryStrategy: Output<GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategy>? = null) : ConvertibleToJava<GoogleCloudIntegrationsV1alphaFailurePolicyArgs>

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

Constructors

constructor(intervalTime: Output<String>? = null, maxRetries: Output<Int>? = null, retryStrategy: Output<GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategy>? = null)

Properties

Link copied to clipboard
val intervalTime: Output<String>? = null

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

Link copied to clipboard
val maxRetries: Output<Int>? = null

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.

Link copied to clipboard

Defines what happens to the task upon failure.

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudIntegrationsV1alphaFailurePolicyArgs