This interface defines virtual methods for each of the user-facing overload sets in TpuClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TpuClient.
[[["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 details the \u003ccode\u003eTpuConnection\u003c/code\u003e class, which provides an interface for interacting with the \u003ccode\u003eTpuClient\u003c/code\u003e in the Google Cloud TPU API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTpuConnection\u003c/code\u003e class enables users to customize behaviors, particularly in testing scenarios, by injecting custom behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the \u003ccode\u003eTpuConnection\u003c/code\u003e class, ranging from 2.11.0 to the latest release candidate 2.37.0-rc, allowing users to access documentation for specific versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTpuConnection\u003c/code\u003e class offers a variety of virtual methods for managing TPU nodes, including listing, getting, creating, deleting, reimaging, stopping, and starting them, and it also offers virtual methods for managing TensorFlow versions and Accelerator Types.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create concrete instances of \u003ccode\u003eTpuConnection\u003c/code\u003e using \u003ccode\u003eMakeTpuConnection()\u003c/code\u003e and can utilize \u003ccode\u003eMockTpuConnection\u003c/code\u003e for mocking purposes in tests.\u003c/p\u003e\n"]]],[],null,[]]