This interface defines virtual methods for each of the user-facing overload sets in RecommendationServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type RecommendationServiceClient.
[[["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-08-14 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eRecommendationServiceConnection\u003c/code\u003e class for the Google Cloud Discovery Engine, which is crucial for interacting with the \u003ccode\u003eRecommendationServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eRecommendationServiceConnection\u003c/code\u003e is 2.37.0-rc, with numerous previous versions also available, down to version 2.15.1, offering a wide range of compatibility options.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecommendationServiceConnection\u003c/code\u003e interface provides virtual methods that map to user-facing overloads in \u003ccode\u003eRecommendationServiceClient\u003c/code\u003e, allowing for custom behavior injection during testing.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create concrete instances of the service connection using \u003ccode\u003eMakeRecommendationServiceConnection()\u003c/code\u003e and utilize \u003ccode\u003ediscoveryengine_v1_mocks::MockRecommendationServiceConnection\u003c/code\u003e for testing.\u003c/p\u003e\n"],["\u003cp\u003eKey functions include \u003ccode\u003eRecommend\u003c/code\u003e, \u003ccode\u003eListOperations\u003c/code\u003e, \u003ccode\u003eGetOperation\u003c/code\u003e, and \u003ccode\u003eCancelOperation\u003c/code\u003e, each with specific request and response types that are necessary for operations within the service.\u003c/p\u003e\n"]]],[],null,[]]