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-09 UTC."],[[["This webpage details the `TpuConnection` object, which acts as an interface for the `TpuClient` and defines virtual methods corresponding to the user-facing overload sets in `TpuClient`."],["The page provides access to various versions of the `TpuConnection` documentation, ranging from version 2.11.0 up to the latest release candidate version 2.37.0-rc."],["The `TpuConnection` interface allows for custom behavior injection, particularly useful for creating mock objects in testing scenarios."],["The documentation includes functions for managing TPU nodes, such as listing, getting, creating, deleting, reimaging, stopping, and starting, as well as for listing and getting TensorFlow versions and accelerator types."],["The `MakeTpuConnection()` and `tpu_v1_mocks::MockTpuConnection` functions can be used to create concrete and mock instances respectively."]]],[]]