Class RetryPolicy (1.12.0)

RetryPolicy(value)

Describes the retry policy in case of function's execution failure. Retried execution is charged as any other execution.

Values: RETRY_POLICY_UNSPECIFIED (0): Not specified. RETRY_POLICY_DO_NOT_RETRY (1): Do not retry. RETRY_POLICY_RETRY (2): Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).