This interface defines virtual methods for each of the user-facing overload sets in SearchServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SearchServiceClient.
[[["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 provides documentation for the \u003ccode\u003eSearchServiceConnection\u003c/code\u003e class within the Google Cloud Discovery Engine C++ library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSearchServiceConnection\u003c/code\u003e interface defines virtual methods for user-facing overload sets found in the \u003ccode\u003eSearchServiceClient\u003c/code\u003e, facilitating custom behavior injection for testing.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eSearchServiceConnection\u003c/code\u003e documented here is 2.37.0-rc, and there are numerous past versions available down to version 2.15.1.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers methods such as \u003ccode\u003eSearch\u003c/code\u003e, \u003ccode\u003eSearchLite\u003c/code\u003e, \u003ccode\u003eListOperations\u003c/code\u003e, \u003ccode\u003eGetOperation\u003c/code\u003e, and \u003ccode\u003eCancelOperation\u003c/code\u003e, alongside a function for \u003ccode\u003eoptions\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a concrete instance of this class via the \u003ccode\u003eMakeSearchServiceConnection()\u003c/code\u003e function or use the \u003ccode\u003ediscoveryengine_v1_mocks::MockSearchServiceConnection\u003c/code\u003e for mocking purposes.\u003c/p\u003e\n"]]],[],null,[]]