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-04-09 UTC."],[[["The latest version available is 2.37.0-rc, with links to documentation for various versions of the `PredictionServiceConnection` class, starting from 2.11.0 up to the most recent version."],["`PredictionServiceConnection` defines virtual methods for each user-facing overload set in `PredictionServiceClient`, enabling users to inject custom behavior, like using a mock object, when testing."],["A concrete instance of `PredictionServiceConnection` can be created using `MakePredictionServiceConnection()`."],["`retail_v2_mocks::MockPredictionServiceConnection` is available for mocking purposes, allowing for controlled testing environments."],["The `Predict` function takes a parameter `request`, of type `google::cloud::retail::v2::PredictRequest const &`, and returns a `StatusOr\u003c google::cloud::retail::v2::PredictResponse \u003e` object."]]],[]]