# Cloud Functions V2 API - Module Google::Cloud::Functions::V2::EventTrigger::RetryPolicy (v1.5.1)

1.5.1 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Functions V2 API module Google::Cloud::Functions::V2::EventTrigger::RetryPolicy.

Describes the retry policy in case of function's execution failure.
Retried execution is charged as any other execution.

## Constants

### RETRY_POLICY_UNSPECIFIED

**value:** 0  
Not specified.

### RETRY_POLICY_DO_NOT_RETRY

**value:** 1  
Do not retry.

### RETRY_POLICY_RETRY

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