[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-31 UTC."],[[["This page provides reference documentation for the `PubsubExtensions` class within the `Google.Cloud.PubSub.V1` namespace, part of the Cloud Pub/Sub v1 API."],["The `PubsubExtensions` class offers an extension method, `GetDeliveryAttempt`, designed to retrieve the delivery attempt count of a given `PubsubMessage`."],["The `GetDeliveryAttempt` method returns a nullable integer representing the delivery attempt, or `null` if dead-letter queues are not enabled for the subscription."],["The list shows a history of available versions of the `PubsubExtensions` class, ranging from version 3.23.0 (latest) down to 2.3.0, all available for the `Google.Cloud.PubSub.V1` package."],["The delivery attempt counter, as explained in the remarks, is calculated as 1 plus the total of the number of NACKs and the number of times the ack\\_deadline has been exceeded for a particular message."]]],[]]