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, which is a critical component for interacting with the `PublisherClient` in the Eventarc Publishing v1 API."],["The `PublisherConnection` interface facilitates custom behavior injection during testing, such as using Google Mock objects, specifically for the `PublisherClient`."],["The webpage lists available versions of the Eventarc Publishing v1 API, starting with version 2.37.0-rc (latest) down to 2.11.0, all of which contain the `PublisherConnection`."],["The `PublisherConnection` includes virtual methods like `options()`, `PublishChannelConnectionEvents()`, and `PublishEvents()`, which are used to perform actions within the API."],["There is a function, `MakePublisherConnection()`, that allows the creation of a concrete instance of the object, and also a mock version, `eventarc_publishing_v1_mocks::MockPublisherConnection`, for testing."]]],[]]