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).
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attribute | |
---|---|
Name | Description |
retry |
google.cloud.functions_v1.types.FailurePolicy.Retry
If specified, the function is retried in case of a failure. This field is a member of oneof _ action .
|
Classes
Retry
Retry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Describes the retry policy in case of function's execution failure. A function execution is retried on any failure. A failed execution is retried up to 7 days with an exponential backoff (capped at 10 seconds). Retried execution is charged as any other execution.