Classes
TpuClient
Manages TPU nodes and other resources.
TpuConnection
The TpuConnection
object for TpuClient
.
TpuConnectionIdempotencyPolicy
Structs
TpuBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
TpuConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
TpuPollingPolicyOption
Use with google::cloud::Options
to configure the long-running operations polling policy.
TpuRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeTpuConnection(Options)
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:
Parameter | |
---|---|
Name | Description |
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< TpuConnection > |
MakeDefaultTpuConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< TpuConnectionIdempotencyPolicy > |
Type Aliases
TpuRetryPolicy
::google::cloud::internal::TraitBasedRetryPolicy< tpu_v2_internal::TpuRetryTraits >
TpuLimitedTimeRetryPolicy
::google::cloud::internal::LimitedTimeRetryPolicy< tpu_v2_internal::TpuRetryTraits >
TpuLimitedErrorCountRetryPolicy
::google::cloud::internal::LimitedErrorCountRetryPolicy< tpu_v2_internal::TpuRetryTraits >
TpuPolicyOptionList
OptionList< TpuRetryPolicyOption, TpuBackoffPolicyOption, TpuPollingPolicyOption, TpuConnectionIdempotencyPolicyOption >
The options applicable to Tpu.