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, outlining its role and capabilities."],["The `SearchServiceConnection` class defines virtual methods that mirror the user-facing overloads in `SearchServiceClient`, enabling the injection of custom behavior for testing."],["Version 2.37.0-rc is the most current release candidate, while a series of prior stable versions ranging from 2.36.0 down to 2.11.0 are also available for use and reference."],["The page outlines information on how to create a `SearchServiceConnection` instance using the `MakeSearchServiceConnection()` function and mock the object utilizing the `retail_v2_mocks::MockSearchServiceConnection`."],["The documentation details functions within the `SearchServiceConnection`, namely `options()` which returns type `Options`, and the `Search` function which accepts a `google::cloud::retail::v2::SearchRequest` and returns a `StreamRange\u003c google::cloud::retail::v2::SearchResponse::SearchResult \u003e`."]]],[]]