This interface defines virtual methods for each of the user-facing overload sets in UserEventServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type UserEventServiceClient.
[[["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 `UserEventServiceConnection` object, which is used in conjunction with `UserEventServiceClient` for the Google Cloud Discovery Engine."],["The content provides access to various versions of the `UserEventServiceConnection` class, ranging from version 2.15.1 to the latest release candidate 2.37.0-rc."],["The `UserEventServiceConnection` interface enables users to implement custom behaviors and facilitates writing tests by allowing the injection of mock objects."],["The page lists virtual methods for key functionalities such as `WriteUserEvent`, `CollectUserEvent`, and `ImportUserEvents`, detailing their parameters and return types."],["The `MakeUserEventServiceConnection()` and `discoveryengine_v1_mocks::MockUserEventServiceConnection` functions are provided as a way to create concrete instances or use mock objects."]]],[]]