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."],[[["This webpage provides documentation for the `SearchServiceConnection` class within the Google Cloud Discovery Engine C++ library, detailing its role in managing interactions with the `SearchServiceClient`."],["The latest version of `SearchServiceConnection` is 2.37.0-rc, and a full list of previously released versions is also provided on this page, ranging back to version 2.15.1."],["The `SearchServiceConnection` interface includes virtual methods that mirror the user-facing overloads in `SearchServiceClient`, facilitating custom behavior injection, such as mocking for testing purposes."],["The page outlines the `options()` function that returns `Options`, and the `Search(google::cloud::discoveryengine::v1::SearchRequest)` function, which takes a request and returns a `StreamRange` of `SearchResponse::SearchResult`."],["Concrete instances of the `SearchServiceConnection` class can be created using the `MakeSearchServiceConnection()` function, and the `MockSearchServiceConnection` class is available for mocking scenarios."]]],[]]