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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 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."]]],[]]