This interface defines virtual methods for each of the user-facing overload sets in PredictionServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type PredictionServiceClient.
[[["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-21 UTC."],[[["This page provides documentation for the `PredictionServiceConnection` class within the Google Cloud Retail v2 C++ library, specifically version 2.21.0."],["The `PredictionServiceConnection` class defines virtual methods corresponding to the user-facing overloads in `PredictionServiceClient`, enabling custom behavior injection, such as with Google Mock objects, for testing purposes."],["The latest release candidate version is 2.37.0-rc and the page details all versions between 2.37.0-rc to 2.11.0."],["You can create a real instance using `MakePredictionServiceConnection()` and mock it using `retail_v2_mocks::MockPredictionServiceConnection`."],["The class includes functions for `options()` and a `Predict()` function that takes a `google::cloud::retail::v2::PredictRequest` as input and returns a `StatusOr\u003c google::cloud::retail::v2::PredictResponse \u003e`."]]],[]]