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-04-09 UTC."],[[["This webpage provides documentation for the `SearchServiceConnection` class within the Google Cloud Retail v2 C++ client library, spanning multiple versions from 2.11.0 to the latest release candidate 2.37.0-rc."],["The `SearchServiceConnection` interface defines virtual methods corresponding to the user-facing overload sets in `SearchServiceClient`, allowing for the injection of custom behavior in testing."],["Users can create a concrete instance of `SearchServiceConnection` using the `MakeSearchServiceConnection()` function."],["A mock implementation, `retail_v2_mocks::MockSearchServiceConnection`, is available for testing purposes."],["The main function provided by the class is the `Search()` function, which takes a `google::cloud::retail::v2::SearchRequest` parameter and returns a `StreamRange` of `google::cloud::retail::v2::SearchResponse::SearchResult`."]]],[]]