FailurePolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e. not retrying them).
Attribute
Name | Description |
retry |
google.cloud.functions_v1.types.FailurePolicy.Retry
If specified, then the function will be retried in case of a failure. |
Inheritance
builtins.object > proto.message.Message > FailurePolicyClasses
Retry
Retry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Describes the retry policy in case of function's execution failure. A function execution will be retried on any failure. A failed execution will be retried up to 7 days with an exponential backoff (capped at 10 seconds). Retried execution is charged as any other execution.