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-04-17 UTC."],[[["This webpage details the `PublisherConnection` class within the Google Cloud Eventarc Publishing v1 library, with version 2.37.0-rc as the latest and 2.11.0 as the oldest listed."],["The `PublisherConnection` class defines virtual methods corresponding to user-facing overloads in the `PublisherClient`, enabling custom behavior injection, like using mock objects, for testing."],["The `PublisherConnection` class offers functions like `options()`, `PublishChannelConnectionEvents()`, `PublishEvents()`, and `Publish()`, which support publishing events and managing channel connections."],["Users can create instances of `PublisherConnection` with `MakePublisherConnection()`, or utilize `MockPublisherConnection` for mocking purposes."],["The web page provides documentation for the class `PublisherConnection` for version 2.32.0, including parameters and return types for the different methods available to use."]]],[]]