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 latest version available is 2.37.0-rc, with the provided content encompassing versions from 2.11.0 up to this release candidate."],["This page documents the `SearchServiceConnection` object, which is used in conjunction with `SearchServiceClient` in the Google Cloud Retail v2 library for C++."],["`SearchServiceConnection` provides virtual methods corresponding to user-facing overloads in `SearchServiceClient`, facilitating the injection of custom behavior, especially for testing."],["The `MakeSearchServiceConnection()` function can be used to create a concrete instance of this object, while the `retail_v2_mocks::MockSearchServiceConnection` is available for mocking."],["This interface provides an options function, and a virtual Search function which takes in a `google::cloud::retail::v2::SearchRequest` and returns a `StreamRange\u003c google::cloud::retail::v2::SearchResponse::SearchResult \u003e`."]]],[]]