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"]],[["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-03-14 UTC."],[[["This webpage details the `TpuConnection` class, which provides an interface for interacting with the `TpuClient` in the Google Cloud TPU API."],["The `TpuConnection` class enables users to customize behaviors, particularly in testing scenarios, by injecting custom behavior."],["The page lists various versions of the `TpuConnection` class, ranging from 2.11.0 to the latest release candidate 2.37.0-rc, allowing users to access documentation for specific versions."],["The `TpuConnection` 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."],["Users can create concrete instances of `TpuConnection` using `MakeTpuConnection()` and can utilize `MockTpuConnection` for mocking purposes in tests."]]],[]]