public enum EventTrigger.RetryPolicy extends Enum<EventTrigger.RetryPolicy> implements ProtocolMessageEnum
Describes the retry policy in case of function's execution failure. Retried execution is charged as any other execution.
Protobuf enum google.events.cloud.functions.v2.EventTrigger.RetryPolicy
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
RETRY_POLICY_DO_NOT_RETRY | Do not retry. |
RETRY_POLICY_DO_NOT_RETRY_VALUE | Do not retry. |
RETRY_POLICY_RETRY | Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds). |
RETRY_POLICY_RETRY_VALUE | Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds). |
RETRY_POLICY_UNSPECIFIED | Not specified. |
RETRY_POLICY_UNSPECIFIED_VALUE | Not specified. |
UNRECOGNIZED |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |