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-14 UTC."],[[["The latest version available is 2.37.0-rc, with previous versions listed down to 2.11.0, all related to the `PredictionServiceConnection` class."],["`PredictionServiceConnection` defines virtual methods for user-facing overload sets in `PredictionServiceClient`, enabling users to customize behavior during testing."],["You can create a real `PredictionServiceConnection` instance using `MakePredictionServiceConnection()`."],["For testing and mocking purposes, `retail_v2_mocks::MockPredictionServiceConnection` can be used."],["The `PredictionServiceConnection` interface includes functions like `options()` and `Predict(google::cloud::retail::v2::PredictRequest const &)`, that returns `StatusOr\u003c google::cloud::retail::v2::PredictResponse \u003e`."]]],[]]