Package | Description |
---|---|
com.google.api.services.pubsub.model |
Modifier and Type | Method and Description |
---|---|
DeadLetterPolicy |
DeadLetterPolicy.clone() |
DeadLetterPolicy |
Subscription.getDeadLetterPolicy()
A policy that specifies the conditions for dead lettering messages in this subscription.
|
DeadLetterPolicy |
DeadLetterPolicy.set(java.lang.String fieldName,
java.lang.Object value) |
DeadLetterPolicy |
DeadLetterPolicy.setDeadLetterTopic(java.lang.String deadLetterTopic)
The name of the topic to which dead letter messages should be published.
|
DeadLetterPolicy |
DeadLetterPolicy.setMaxDeliveryAttempts(java.lang.Integer maxDeliveryAttempts)
The maximum number of delivery attempts for any message.
|
Modifier and Type | Method and Description |
---|---|
Subscription |
Subscription.setDeadLetterPolicy(DeadLetterPolicy deadLetterPolicy)
A policy that specifies the conditions for dead lettering messages in this subscription.
|