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\u003eThe latest release candidate version is 2.37.0-rc, and a list of all previous versions are displayed, each linking to its respective \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e object is designed for use with \u003ccode\u003ePredictionServiceClient\u003c/code\u003e, providing virtual methods for each user-facing overload set in the client.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize behavior in tests using the \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e interface, for example, through dependency injection of mock objects.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists the available functions, including \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003ePredict()\u003c/code\u003e, and \u003ccode\u003eBatchPredict()\u003c/code\u003e, outlining their parameters and return types for the \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e interface.\u003c/p\u003e\n"],["\u003cp\u003eTo create an instance you must refer to the \u003ccode\u003eMakePredictionServiceConnection()\u003c/code\u003e while to mock one refer to the \u003ccode\u003eautoml_v1_mocks::MockPredictionServiceConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]