Package types (1.24.0)

API documentation fortpu_v2.types package.

Classes

AcceleratorConfig

A TPU accelerator configuration.

AcceleratorType

A accelerator type that a Node can be configured with.

AccessConfig

An access config attached to the TPU worker.

AttachedDisk

A node-attached disk resource.Next ID: 8;

CreateNodeRequest

Request forCreateNode.

CreateQueuedResourceRequest

Request forCreateQueuedResource.

DeleteNodeRequest

Request forDeleteNode.

DeleteQueuedResourceRequest

Request forDeleteQueuedResource.

GenerateServiceIdentityRequest

Request forGenerateServiceIdentity.

GenerateServiceIdentityResponse

Response forGenerateServiceIdentity.

GetAcceleratorTypeRequest

Request forGetAcceleratorType.

GetGuestAttributesRequest

Request forGetGuestAttributes.

GetGuestAttributesResponse

Response forGetGuestAttributes.

GetNodeRequest

Request forGetNode.

GetQueuedResourceRequest

Request forGetQueuedResource

GetRuntimeVersionRequest

Request forGetRuntimeVersion.

GuestAttributes

A guest attributes.

GuestAttributesEntry

A guest attributes namespace/key/value entry.

GuestAttributesValue

Array of guest attribute namespace/key/value tuples.

ListAcceleratorTypesRequest

Request forListAcceleratorTypes.

ListAcceleratorTypesResponse

Response forListAcceleratorTypes.

ListNodesRequest

Request forListNodes.

ListNodesResponse

Response forListNodes.

ListQueuedResourcesRequest

Request forListQueuedResources.

ListQueuedResourcesResponse

Response forListQueuedResources.

ListRuntimeVersionsRequest

Request forListRuntimeVersions.

ListRuntimeVersionsResponse

Response forListRuntimeVersions.

NetworkConfig

Network related configurations.

NetworkEndpoint

A network endpoint over which a TPU worker can be reached.

Node

A TPU instance.

OperationMetadata

Metadata describing anOperation][google.longrunning.Operation]

QueuedResource

A QueuedResource represents a request for resources that willbe placed in a queue and fulfilled when the necessary resourcesare available.

This message hasoneof_ fields (mutually exclusive fields).For each oneof, at most one member field can be set at the same time.Setting any member of the oneof automatically clears all othermembers.

.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

QueuedResourceState

QueuedResourceState defines the details of the QueuedResourcerequest.

This message hasoneof_ fields (mutually exclusive fields).For each oneof, at most one member field can be set at the same time.Setting any member of the oneof automatically clears all othermembers.

.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

ResetQueuedResourceRequest

Request forResetQueuedResource.

RuntimeVersion

A runtime version that a Node can be configured with.

SchedulingConfig

Sets the scheduling options for this node.

ServiceAccount

A service account.

ServiceIdentity

The per-product per-project service identity for Cloud TPUservice.

ShieldedInstanceConfig

A set of Shielded Instance options.

StartNodeRequest

Request forStartNode.

StopNodeRequest

Request forStopNode.

Symptom

A Symptom instance.

UpdateNodeRequest

Request forUpdateNode.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-30 UTC.