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 provides documentation for the `TpuConnection` object, which is used with `TpuClient` to interact with Google Cloud TPUs."],["The page lists available versions of the TPU API, from `2.37.0-rc` (latest) down to `2.11.0`, each with a link to its respective documentation."],["`TpuConnection` allows users to inject custom behaviors when testing `TpuClient` objects, for example, through mocking."],["The documentation outlines virtual methods in `TpuConnection`, such as `ListNodes`, `GetNode`, `CreateNode`, `DeleteNode`, `ReimageNode`, `StopNode`, `StartNode`, `ListTensorFlowVersions`, `GetTensorFlowVersion`, `ListAcceleratorTypes`, and `GetAcceleratorType`, detailing their parameters and return types."],["The `MakeTpuConnection()` function can be used to create a concrete instance of the `TpuConnection` object, and `tpu_v1_mocks::MockTpuConnection` can be used to create mock objects."]]],[]]