A factory function to construct an object of type TpuConnection.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of TpuClient.
The optional options argument may be used to configure aspects of the returned TpuConnection. Expected options are any of the types in the following option lists:
[[["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-08-14 UTC."],[[["\u003cp\u003eThe latest version of the TPU C++ library is 2.37.0-rc, and there are numerous previous versions available for reference, ranging back to version 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTpuClient\u003c/code\u003e class is used to manage TPU nodes and related resources, while the \u003ccode\u003eTpuConnection\u003c/code\u003e class is an object that is used in conjunction with it.\u003c/p\u003e\n"],["\u003cp\u003eRetry policies for \u003ccode\u003eTpuConnection\u003c/code\u003e are available using \u003ccode\u003eTpuLimitedErrorCountRetryPolicy\u003c/code\u003e, \u003ccode\u003eTpuLimitedTimeRetryPolicy\u003c/code\u003e, and \u003ccode\u003eTpuRetryPolicy\u003c/code\u003e classes.\u003c/p\u003e\n"],["\u003cp\u003eConfiguration options for backoff, retry, and polling policies can be set using \u003ccode\u003eTpuBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eTpuRetryPolicyOption\u003c/code\u003e, and \u003ccode\u003eTpuPollingPolicyOption\u003c/code\u003e structs respectively, in addition to the \u003ccode\u003eTpuConnectionIdempotencyPolicyOption\u003c/code\u003e struct.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeTpuConnection\u003c/code\u003e function is a factory function that creates a \u003ccode\u003eTpuConnection\u003c/code\u003e object, taking an optional \u003ccode\u003eoptions\u003c/code\u003e argument to configure various aspects of the connection, and returns a shared pointer to a \u003ccode\u003eTpuConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]