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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 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`."]]],[]]