The inlined, versioned namespace for the Cloud Pub/Sub C++ client APIs.
Applications may need to link multiple versions of the Cloud Pub/Sub C++ client, for example, if they link a library that uses an older version of the client than they do. This namespace is inlined, so applications can use pubsub::Foo in their source, but the symbols are versioned, i.e., the symbol becomes pubsub::v1::Foo. A googlemock-based mock for pubsub::AckHandler::Impl
[[["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-04-17 UTC."],[[["This webpage provides documentation for the `MockAckHandler` class, a googlemock-based mock for `pubsub::AckHandler::Impl` in the Cloud Pub/Sub C++ client API."],["The latest version of the `MockAckHandler` class is 2.37.0-rc, with numerous prior versions available, dating back to 2.11.0, that you can reference."],["The `MockAckHandler` allows applications to use `pubsub::Foo` in their source, with symbols being versioned (e.g., `pubsub::v1::Foo`) for compatibility when linking multiple client versions."],["The `MockAckHandler` class provides virtual functions such as `ack()`, `nack()`, and `delivery_attempt()` for testing, all implemented using gMock's `MOCK_METHOD()` for easy integration with tests."],["There is a guide, linked within the page, to provide example usage of the class to test subscriber applications."]]],[]]