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++ client library, with version 2.27.0 being the focus."],["The `SearchServiceConnection` class defines virtual methods corresponding to the user-facing overloads in `SearchServiceClient`, enabling custom behavior injection, especially useful for testing purposes."],["The most current version is 2.37.0-rc, although many versions from 2.15.1 to 2.36.0 are also documented."],["The documentation includes methods like `options()` and `Search()`, the latter of which takes a `google::cloud::discoveryengine::v1::SearchRequest` parameter and returns a `StreamRange` of `google::cloud::discoveryengine::v1::SearchResponse::SearchResult`."],["To create an instance of the class, you can refer to the documentation of the `MakeSearchServiceConnection()` function, or refer to the `discoveryengine_v1_mocks::MockSearchServiceConnection` for mocking."]]],[]]