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 v2 C++ library, with the latest release being 2.37.0-rc."],["The `SearchServiceConnection` class interface defines virtual methods corresponding to user-facing overloads in `SearchServiceClient`, facilitating custom behavior injection during testing."],["The page offers version-specific links to the `SearchServiceConnection` class, starting from version 2.37.0-rc down to 2.11.0."],["The main functions of this class are `options()` which returns options, and `Search(google::cloud::retail::v2::SearchRequest)` which takes in the request as a parameter and returns a StreamRange."],["To implement a mock version of the class, `retail_v2_mocks::MockSearchServiceConnection` is available."]]],[]]