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-14 UTC."],[[["The page provides documentation for the `SearchServiceConnection` class within the Google Cloud Retail v2 C++ library, detailing its role in defining virtual methods for `SearchServiceClient`."],["The latest version of the documentation is 2.37.0-rc, and the page offers links to documentation for versions ranging from 2.11.0 up to the current one, 2.37.0-rc."],["`SearchServiceConnection` allows for the injection of custom behaviors, such as with a Google Mock object, in the context of testing with `SearchServiceClient` objects."],["The page details the `Options` and `Search` virtual functions, with the `Search` method accepting a `google::cloud::retail::v2::SearchRequest` parameter and returning a `StreamRange` of `google::cloud::retail::v2::SearchResponse::SearchResult`."]]],[]]