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-14 UTC."],[[["This webpage details the `PublisherConnection` object for `PublisherClient`, which is used for interacting with the Google Cloud Eventarc Publishing API."],["The `PublisherConnection` interface includes virtual methods for user-facing overload sets in `PublisherClient`, enabling custom behavior injection during testing."],["The page provides links to different versions of the `PublisherConnection` class, including the latest release candidate (2.37.0-rc) and a range of stable releases from 2.36.0 down to 2.11.0."],["It gives guidance on creating concrete instances using `MakePublisherConnection()` and mocking via `eventarc_publishing_v1_mocks::MockPublisherConnection`."],["It includes the functions within the virtual methods `options()`, `PublishChannelConnectionEvents()` and `PublishEvents()`, along with details on the parameters and returns for each."]]],[]]