tpu library

Classes

AcceleratorConfig
A TPU accelerator configuration.
AcceleratorConfigResponse
A TPU accelerator configuration.
AcceleratorConfigResponseTpuV2alpha1
A TPU accelerator configuration.
AcceleratorConfigTpuV2alpha1
A TPU accelerator configuration.
AccessConfigResponse
An access config attached to the TPU worker.
AccessConfigResponseTpuV2alpha1
An access config attached to the TPU worker.
AttachedDisk
A node-attached disk resource. Next ID: 8;
AttachedDiskResponse
A node-attached disk resource. Next ID: 8;
AttachedDiskResponseTpuV2alpha1
A node-attached disk resource. Next ID: 8;
AttachedDiskTpuV2alpha1
A node-attached disk resource. Next ID: 8;
BootDiskConfig
Boot disk configurations.
BootDiskConfigResponse
Boot disk configurations.
CustomerEncryptionKey
Customer's encryption key.
CustomerEncryptionKeyResponse
Customer's encryption key.
FailedDataResponse
Further data for the failed state.
GetNodeArgs
Arguments for getNode. Arguments for getNode.
GetNodeResult
Result data returned by getNode.
GetNodeTpuV1alpha1Args
Arguments for getNode. Arguments for getNode.
GetNodeTpuV1alpha1Result
Result data returned by getNode.
GetNodeTpuV2alpha1Args
Arguments for getNode. Arguments for getNode.
GetNodeTpuV2alpha1Result
Result data returned by getNode.
GetNodeTpuV2Args
Arguments for getNode. Arguments for getNode.
GetNodeTpuV2Result
Result data returned by getNode.
GetQueuedResourceArgs
Arguments for getQueuedResource. Arguments for getQueuedResource.
GetQueuedResourceResult
Result data returned by getQueuedResource.
Guaranteed
Guaranteed tier definition.
GuaranteedResponse
Guaranteed tier definition.
Interval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
IntervalResponse
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
MultiNodeParams
Parameters to specify for multi-node QueuedResource requests. This field must be populated in case of multi-node requests instead of node_id. It's an error to specify both node_id and multi_node_params.
MultiNodeParamsResponse
Parameters to specify for multi-node QueuedResource requests. This field must be populated in case of multi-node requests instead of node_id. It's an error to specify both node_id and multi_node_params.
NetworkConfig
Network related configurations.
NetworkConfigResponse
Network related configurations.
NetworkConfigResponseTpuV2alpha1
Network related configurations.
NetworkConfigTpuV2alpha1
Network related configurations.
NetworkEndpointResponse
A network endpoint over which a TPU worker can be reached.
NetworkEndpointResponseTpuV1alpha1
A network endpoint over which a TPU worker can be reached.
NetworkEndpointResponseTpuV2
A network endpoint over which a TPU worker can be reached.
NetworkEndpointResponseTpuV2alpha1
A network endpoint over which a TPU worker can be reached.
Node
A TPU instance.
NodeArgs
The set of arguments for Node. The set of arguments for Node.
NodeResponse
A TPU instance.
NodeSpec
Details of the TPU node(s) being requested. Users can request either a single node or multiple nodes. NodeSpec provides the specification for node(s) to be created.
NodeSpecResponse
Details of the TPU node(s) being requested. Users can request either a single node or multiple nodes. NodeSpec provides the specification for node(s) to be created.
NodeTpuV1
Creates a node. Auto-naming is currently not supported for this resource.
NodeTpuV1alpha1
Creates a node. Auto-naming is currently not supported for this resource.
NodeTpuV1alpha1Args
The set of arguments for Node. The set of arguments for Node.
NodeTpuV2
Creates a node. Auto-naming is currently not supported for this resource.
NodeTpuV2alpha1
Creates a node. Auto-naming is currently not supported for this resource.
NodeTpuV2alpha1Args
The set of arguments for Node. The set of arguments for Node.
NodeTpuV2Args
The set of arguments for Node. The set of arguments for Node.
QueuedResource
Creates a QueuedResource TPU instance. Auto-naming is currently not supported for this resource.
QueuedResourceArgs
The set of arguments for QueuedResource. The set of arguments for QueuedResource.
QueuedResourceStateResponse
QueuedResourceState defines the details of the QueuedResource request.
QueueingPolicy
Defines the policy of the QueuedRequest.
QueueingPolicyResponse
Defines the policy of the QueuedRequest.
SchedulingConfig
Sets the scheduling options for this node.
SchedulingConfigResponse
Sets the scheduling options for this node.
SchedulingConfigResponseTpuV1alpha1
Sets the scheduling options for this node.
SchedulingConfigResponseTpuV2
Sets the scheduling options for this node.
SchedulingConfigResponseTpuV2alpha1
Sets the scheduling options for this node.
SchedulingConfigTpuV1alpha1
Sets the scheduling options for this node.
SchedulingConfigTpuV2
Sets the scheduling options for this node.
SchedulingConfigTpuV2alpha1
Sets the scheduling options for this node.
ServiceAccount
A service account.
ServiceAccountResponse
A service account.
ServiceAccountResponseTpuV2alpha1
A service account.
ServiceAccountTpuV2alpha1
A service account.
ShieldedInstanceConfig
A set of Shielded Instance options.
ShieldedInstanceConfigResponse
A set of Shielded Instance options.
ShieldedInstanceConfigResponseTpuV2alpha1
A set of Shielded Instance options.
ShieldedInstanceConfigTpuV2alpha1
A set of Shielded Instance options.
StatusResponse
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
SymptomResponse
A Symptom instance.
SymptomResponseTpuV1alpha1
A Symptom instance.
SymptomResponseTpuV2
A Symptom instance.
SymptomResponseTpuV2alpha1
A Symptom instance.
Tpu
Details of the TPU resource(s) being requested.
TpuResponse
Details of the TPU resource(s) being requested.

Enums

AcceleratorConfigType
Required. Type of TPU.
AcceleratorConfigTypeTpuV2alpha1
Required. Type of TPU.
AttachedDiskMode
The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
AttachedDiskModeTpuV2alpha1
The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
NodeHealth
The health status of the TPU node.
NodeHealthTpuV1alpha1
The health status of the TPU node.
NodeHealthTpuV2
The health status of the TPU node.
NodeHealthTpuV2alpha1
The health status of the TPU node.

Functions

getNode(GetNodeArgs args, {InvokeOptions? options}) → Future<GetNodeResult>
Gets the details of a node. args Arguments passed to this invoke. Arguments for getNode. options Invoke options controlling this call.
getNodeTpuV1alpha1(GetNodeTpuV1alpha1Args args, {InvokeOptions? options}) → Future<GetNodeTpuV1alpha1Result>
Gets the details of a node. args Arguments passed to this invoke. Arguments for getNode. options Invoke options controlling this call.
getNodeTpuV2(GetNodeTpuV2Args args, {InvokeOptions? options}) → Future<GetNodeTpuV2Result>
Gets the details of a node. args Arguments passed to this invoke. Arguments for getNode. options Invoke options controlling this call.
getNodeTpuV2alpha1(GetNodeTpuV2alpha1Args args, {InvokeOptions? options}) → Future<GetNodeTpuV2alpha1Result>
Gets the details of a node. args Arguments passed to this invoke. Arguments for getNode. options Invoke options controlling this call.
getQueuedResource(GetQueuedResourceArgs args, {InvokeOptions? options}) → Future<GetQueuedResourceResult>
Gets details of a queued resource. args Arguments passed to this invoke. Arguments for getQueuedResource. options Invoke options controlling this call.