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-03-05 UTC."],[[["This page 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` documentation is version 2.37.0-rc, while version 2.21.0 is currently the active version."],["The Cloud Pub/Sub C++ client API uses an inlined, versioned namespace, allowing applications to link multiple versions of the client by versioning their symbols."],["`MockAckHandler` allows for mocking `ack()`, `nack()`, and `delivery_attempt()` functions using gMock, as documented in the `MOCK_METHOD()` implementation."],["The documentation includes links to examples and descriptions of how to use `MockAckHandler` within testing scenarios, specifically in the example of testing your Cloud Pub/Sub subscriber application with googlemock."]]],[]]