Google Cloud Functions V2 Client - Class RetryPolicy (1.6.4)

Reference documentation and code samples for the Google Cloud Functions V2 Client class RetryPolicy.

Describes the retry policy in case of function's execution failure.

Retried execution is charged as any other execution.

Protobuf type google.cloud.functions.v2.EventTrigger.RetryPolicy

Namespace

Google \ Cloud \ Functions \ V2 \ EventTrigger

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

RETRY_POLICY_UNSPECIFIED

Value: 0

Not specified.

Generated from protobuf enum RETRY_POLICY_UNSPECIFIED = 0;

RETRY_POLICY_DO_NOT_RETRY

Value: 1

Do not retry.

Generated from protobuf enum RETRY_POLICY_DO_NOT_RETRY = 1;

RETRY_POLICY_RETRY

Value: 2

Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).

Generated from protobuf enum RETRY_POLICY_RETRY = 2;