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 release candidate version is 2.37.0-rc, while the latest stable version available is 2.36.0, and the page details versions all the way back to 2.15.1."],["This page documents the `SearchServiceConnection` object, which is used by `SearchServiceClient` for the Google Cloud Discovery Engine v1 C++ client library."],["`SearchServiceConnection` defines virtual methods that correspond to the user-facing overload sets in `SearchServiceClient`, allowing for custom behavior injection in tests."],["You can create a concrete instance of `SearchServiceConnection` using `MakeSearchServiceConnection()`, and for testing purposes, `discoveryengine_v1_mocks::MockSearchServiceConnection` can be used."],["`SearchServiceConnection` includes functions such as `options()` and `Search(google::cloud::discoveryengine::v1::SearchRequest)`, with the latter returning a `StreamRange\u003c google::cloud::discoveryengine::v1::SearchResponse::SearchResult \u003e`."]]],[]]