Namespace google::cloud::tpu_v2 (2.23.0-rc)

Classes

TpuClient

Manages TPU nodes and other resources.

TpuConnection

The TpuConnection object for TpuClient.

TpuConnectionIdempotencyPolicy

TpuLimitedErrorCountRetryPolicy

A retry policy for TpuConnection based on counting errors.

TpuLimitedTimeRetryPolicy

A retry policy for TpuConnection based on elapsed time.

TpuRetryPolicy

The retry policy for TpuConnection.

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
NameDescription
options

(optional) Configure the TpuConnection created by this function.

Returns
TypeDescription
std::shared_ptr< TpuConnection >

MakeDefaultTpuConnectionIdempotencyPolicy()

Returns
TypeDescription
std::unique_ptr< TpuConnectionIdempotencyPolicy >

Type Aliases

TpuPolicyOptionList

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

The options applicable to Tpu.