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-08-14 UTC."],[[["\u003cp\u003eThe latest version of the Cloud Pub/Sub C++ client API is 2.37.0-rc, with a list of versions going back to 2.11.0 available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMockAckHandler\u003c/code\u003e class provides a googlemock-based mock for \u003ccode\u003epubsub::AckHandler::Impl\u003c/code\u003e, facilitating testing of Cloud Pub/Sub subscriber applications.\u003c/p\u003e\n"],["\u003cp\u003eThis inlined namespace lets applications use \u003ccode\u003epubsub::Foo\u003c/code\u003e, while symbols are versioned as \u003ccode\u003epubsub::v1::Foo\u003c/code\u003e to support linking multiple versions of the Cloud Pub/Sub C++ client.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMockAckHandler\u003c/code\u003e class includes virtual functions like \u003ccode\u003eack()\u003c/code\u003e, \u003ccode\u003enack()\u003c/code\u003e, \u003ccode\u003eack_id()\u003c/code\u003e, \u003ccode\u003edelivery_attempt()\u003c/code\u003e, and \u003ccode\u003esubscription()\u003c/code\u003e that are all implemented using gMock's \u003ccode\u003eMOCK_METHOD()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]