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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e object, which is used with the \u003ccode\u003ePredictionServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e defines virtual methods that mirror the user-facing overload sets in the \u003ccode\u003ePredictionServiceClient\u003c/code\u003e, facilitating custom behavior injection for testing.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e, ranging from 2.11.0 to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe page also documents how to create concrete instances of this object, as well as an instance used for mocking.\u003c/p\u003e\n"],["\u003cp\u003eFunctions such as \u003ccode\u003evirtual options()\u003c/code\u003e, \u003ccode\u003evirtual Predict(google::cloud::automl::v1::PredictRequest const &)\u003c/code\u003e and \u003ccode\u003evirtual BatchPredict(google::cloud::automl::v1::BatchPredictRequest const &)\u003c/code\u003e are documented.\u003c/p\u003e\n"]]],[],null,[]]