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 document details the `TpuConnection` object, which facilitates communication with the `TpuClient` for Google Cloud TPU services."],["The latest version available is 2.37.0-rc, while the current page's context is version 2.19.0, and there are multiple other previous versions listed."],["`TpuConnection` defines various virtual methods for actions like listing, getting, creating, deleting, stopping, and starting nodes, among other TPU-related operations."],["The `TpuConnection` interface is designed to allow users to inject custom behavior, particularly for testing `TpuClient` objects using tools like Google Mock."],["You can find a concrete implementation of `TpuConnection` in the `MakeTpuConnection()` function and a mock implementation in `tpu_v2_mocks::MockTpuConnection`."]]],[]]