This interface defines virtual methods for each of the user-facing overload sets in ModelServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ModelServiceClient.
[[["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-08-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eModelServiceConnection\u003c/code\u003e object provides an interface with virtual methods for each user-facing overload set in \u003ccode\u003eModelServiceClient\u003c/code\u003e, allowing for the injection of custom behaviors during testing.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, and there are numerous older versions, spanning from \u003ccode\u003e2.36.0\u003c/code\u003e down to \u003ccode\u003e2.11.0\u003c/code\u003e, that can be accessed.\u003c/p\u003e\n"],["\u003cp\u003eThis interface offers functionality for creating, getting, pausing, resuming, deleting, listing, updating, and tuning models, including supporting different parameter and return types for several of these functions.\u003c/p\u003e\n"],["\u003cp\u003eTo instantiate a \u003ccode\u003eModelServiceConnection\u003c/code\u003e object, use the \u003ccode\u003eMakeModelServiceConnection()\u003c/code\u003e function, or use \u003ccode\u003eMockModelServiceConnection\u003c/code\u003e for mocking purposes.\u003c/p\u003e\n"],["\u003cp\u003eIt also supports \u003ccode\u003eListOperations\u003c/code\u003e and \u003ccode\u003eGetOperation\u003c/code\u003e functions, which respectively, provide a range of \u003ccode\u003egoogle::longrunning::Operation\u003c/code\u003e objects, or a specific one.\u003c/p\u003e\n"]]],[],null,[]]