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 Discovery Engine C++ library."],["The `SearchServiceConnection` interface defines virtual methods corresponding to user-facing overloads in the `SearchServiceClient`, allowing for custom behavior injection during testing."],["The latest release candidate version is 2.37.0-rc, and multiple other versions of this documentation are accessible, ranging from 2.15.1 up to the latest."],["`SearchServiceConnection` provides a virtual function, Search, to retrieve a `StreamRange` of `SearchResponse::SearchResult` based on the `SearchRequest`."],["To create an instance of this class you can see the function `MakeSearchServiceConnection()`, and to create a mock instance you can see `MockSearchServiceConnection`."]]],[]]