Class FailurePolicy (0.7.1)

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 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 > FailurePolicy

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.