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` in the Google Cloud Eventarc publishing API, specifically in C++."],["The `PublisherConnection` interface provides virtual methods for each user-facing overload set in `PublisherClient`, enabling custom behavior injection during testing."],["The latest version of the documentation available on this page is 2.37.0-rc, with numerous previous versions listed as well, going down to 2.11.0."],["Functions within the `PublisherConnection` class include `options()`, `PublishChannelConnectionEvents()`, and `PublishEvents()`, which handle various operations related to event publishing."],["You can find information to help you create concrete instances or mock objects within the `PublisherConnection` interface, with links to the `MakePublisherConnection()` function and the `eventarc_publishing_v1_mocks::MockPublisherConnection` class provided."]]],[]]