Namespace google::cloud::tpu_v2 (2.11.0)

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 TpuConnection created by this function.

Returns
Type Description
std::shared_ptr< TpuConnection >

MakeDefaultTpuConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< TpuConnectionIdempotencyPolicy >

Type Aliases

TpuRetryPolicy

Alias Of: ::google::cloud::internal::TraitBasedRetryPolicy< tpu_v2_internal::TpuRetryTraits >

TpuLimitedTimeRetryPolicy

Alias Of: ::google::cloud::internal::LimitedTimeRetryPolicy< tpu_v2_internal::TpuRetryTraits >

TpuLimitedErrorCountRetryPolicy

Alias Of: ::google::cloud::internal::LimitedErrorCountRetryPolicy< tpu_v2_internal::TpuRetryTraits >

TpuPolicyOptionList

Alias Of: OptionList< TpuRetryPolicyOption, TpuBackoffPolicyOption, TpuPollingPolicyOption, TpuConnectionIdempotencyPolicyOption >

The options applicable to Tpu.