This interface defines virtual methods for each of the user-facing overload sets in PublisherClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type PublisherClient.
[[["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\u003eThis webpage provides documentation for the \u003ccode\u003ePublisherConnection\u003c/code\u003e class within the Google Cloud Eventarc Publishing v1 C++ library, with the latest version being 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublisherConnection\u003c/code\u003e class defines virtual methods for user-facing overload sets found in \u003ccode\u003ePublisherClient\u003c/code\u003e, enabling the injection of custom behaviors for testing.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines how to create concrete instances of \u003ccode\u003ePublisherConnection\u003c/code\u003e using \u003ccode\u003eMakePublisherConnection()\u003c/code\u003e and provides guidance for mocking with \u003ccode\u003eeventarc_publishing_v1_mocks::MockPublisherConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey functions of the \u003ccode\u003ePublisherConnection\u003c/code\u003e class include virtual methods such as \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003ePublishChannelConnectionEvents()\u003c/code\u003e, \u003ccode\u003ePublishEvents()\u003c/code\u003e, and \u003ccode\u003ePublish()\u003c/code\u003e, each with descriptions of their parameters and return types.\u003c/p\u003e\n"],["\u003cp\u003eThis page also lists all the previous versions of the library all the way back to 2.11.0, allowing for documentation retrieval for specific versions.\u003c/p\u003e\n"]]],[],null,[]]