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` class, which is part of the Google Cloud TPU C++ client library, specifically for version 2.15.1."],["The `TpuConnection` class defines virtual methods for interacting with the `TpuClient`, enabling users to inject custom behaviors for testing."],["It includes functions for managing TPU nodes such as `ListNodes`, `GetNode`, `CreateNode`, `DeleteNode`, `StopNode`, `StartNode`, and `UpdateNode`."],["It also supports operations related to accelerator types and runtime versions, such as `ListAcceleratorTypes`, `GetAcceleratorType`, `ListRuntimeVersions`, and `GetRuntimeVersion`."],["Users can utilize `MakeTpuConnection()` to create a `TpuConnection` object or `tpu_v2_mocks::MockTpuConnection` to create a mock object."]]],[]]