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-03-21 UTC."],[[["This webpage provides documentation for the `PublisherConnection` class within the Google Cloud Eventarc Publishing v1 library, with the latest release candidate version being 2.37.0-rc."],["The `PublisherConnection` class is an interface that defines virtual methods mirroring the user-facing overload sets found in the `PublisherClient`."],["Users can inject custom behavior into tests by utilizing this interface, and mock objects (like Google Mock objects) to alter `PublisherClient`'s behavior."],["The page lists various versions of the library, from 2.37.0-rc down to 2.11.0, each with a link to its respective `PublisherConnection` documentation, with 2.29.0 being the version it has focused on in the content provided."],["The `PublisherConnection` interface features virtual functions such as `options()`, `PublishChannelConnectionEvents()`, and `PublishEvents()`, each detailed with their respective parameters and return types."]]],[]]