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 provides documentation for the `PublisherConnection` class within the Google Cloud Eventarc Publishing v1 library for C++."],["The `PublisherConnection` class defines virtual methods for each user-facing overload set found in `PublisherClient`, allowing for custom behavior injection during testing."],["The latest release candidate is version 2.37.0-rc, while the currently displayed documentation is for version 2.27.0."],["`PublisherConnection` is crucial for users to mock and inject custom behavior into the `PublisherClient`, providing flexibility for unit testing."],["`MakePublisherConnection()` can be utilized to create a concrete instance of `PublisherConnection`, and the `MockPublisherConnection` can be utilized for mocking."]]],[]]