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-03-21 UTC."],[[["This webpage provides documentation for the `SearchServiceConnection` class within the Google Cloud Retail C++ library, detailing its role in managing connections for the `SearchServiceClient`."],["The content lists various versions of the library, with version 2.37.0-rc being the latest and version 2.14.0 as the base for the current documentation."],["The `SearchServiceConnection` interface defines virtual methods for all user-facing overload sets found in `SearchServiceClient`, which allows for custom behavior injection during testing."],["A concrete instance of the `SearchServiceConnection` can be created using `MakeSearchServiceConnection()`, and for testing purposes, a mock version is available as `retail_v2_mocks::MockSearchServiceConnection`."],["It defines the `options()` method and a `Search()` method that takes in a `google::cloud::retail::v2::SearchRequest`, returning a `StreamRange` of `google::cloud::retail::v2::SearchResponse::SearchResult`."]]],[]]