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-07-18 UTC."],[[["This document details the `TpuConnection` class, which provides an interface for interacting with the `TpuClient` and allows for the injection of custom behavior during testing."],["The latest version available is `2.37.0-rc`, and the document lists versions all the way back to `2.11.0`, providing links to the documentation for each version."],["The `TpuConnection` class offers a set of virtual functions for managing TPU nodes, including listing, getting, creating, deleting, stopping, starting, and updating nodes."],["It also allows management of accelerator types, runtime versions, and retrieval of guest attributes."],["The `MakeTpuConnection()` function and the `tpu_v2_mocks::MockTpuConnection` class can be used respectively to create concrete instances and mock the interface for testing."]]],[]]