retryPolicy property

RetryPolicy? retryPolicy
getter/setter pair

A policy that specifies how Pub/Sub retries message delivery for this subscription.

If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message.

Optional.

Implementation

RetryPolicy? retryPolicy;