Class FailurePolicy (0.4.0)

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

NameDescription
retry .gcf_functions.FailurePolicy.Retry
If specified, then the function will be retried in case of a failure.

Classes

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.