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 acts as an interface for the `UserEventServiceClient` in the Google Cloud Discovery Engine v1 C++ library."],["The `UserEventServiceConnection` interface provides virtual methods corresponding to each user-facing overload set within the `UserEventServiceClient`, facilitating the injection of custom behaviors during testing."],["The latest version available for the `UserEventServiceConnection` is version 2.37.0-rc, with several prior versions also documented, including the current version documented (2.30.0)."],["Key functions of the interface include methods for writing, collecting, purging, and importing user events, each with specific request parameters and return types."],["To create an instance of the connection, use the `MakeUserEventServiceConnection()` function, and for testing you can use the `discoveryengine_v1_mocks::MockUserEventServiceConnection` class."]]],[]]