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-04-09 UTC."],[[["This webpage lists various versions of the `SearchServiceConnection` class for the Google Cloud Retail API, including the latest release candidate (2.37.0-rc) and stable releases down to version 2.11.0."],["The `SearchServiceConnection` object interfaces with the `SearchServiceClient` object and provides virtual methods corresponding to the client's user-facing overloads."],["This interface allows users to define custom behavior in their testing, such as injecting a Google Mock object, for `SearchServiceClient` objects."],["The `MakeSearchServiceConnection()` function creates a concrete instance, while the `retail_v2_mocks::MockSearchServiceConnection` class facilitates mocking for testing purposes."],["The provided functions include `options()`, which returns options, and `Search(google::cloud::retail::v2::SearchRequest)`, which returns a `StreamRange\u003c google::cloud::retail::v2::SearchResponse::SearchResult \u003e` type."]]],[]]