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 webpage provides documentation for the `PredictionServiceConnection` object, which is used with `PredictionServiceClient` in the Google Cloud Retail v2 API."],["The page lists various versions of the `PredictionServiceConnection`, from version 2.11.0 up to the latest release candidate 2.37.0-rc."],["`PredictionServiceConnection` allows for the injection of custom behavior, making it useful for testing with mocking objects such as `MockPredictionServiceConnection`."],["The interface defines virtual methods, including `options()` and `Predict(google::cloud::retail::v2::PredictRequest const &)`, with the latter returning a `StatusOr\u003c google::cloud::retail::v2::PredictResponse \u003e`."],["`MakePredictionServiceConnection()` can be used to create a concrete instance of the object."]]],[]]