Package Classes (1.19.0)

Summary of entries of Classes for tpu.

Classes

TpuAsyncClient

Manages TPU nodes and other resources

TPU API v1

TpuClient

Manages TPU nodes and other resources

TPU API v1

ListAcceleratorTypesAsyncPager

A pager for iterating through list_accelerator_types requests.

This class thinly wraps an initial ListAcceleratorTypesResponse object, and provides an __aiter__ method to iterate through its accelerator_types field.

If there are more pages, the __aiter__ method will make additional ListAcceleratorTypes requests and continue to iterate through the accelerator_types field on the corresponding responses.

All the usual ListAcceleratorTypesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListAcceleratorTypesPager

A pager for iterating through list_accelerator_types requests.

This class thinly wraps an initial ListAcceleratorTypesResponse object, and provides an __iter__ method to iterate through its accelerator_types field.

If there are more pages, the __iter__ method will make additional ListAcceleratorTypes requests and continue to iterate through the accelerator_types field on the corresponding responses.

All the usual ListAcceleratorTypesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListNodesAsyncPager

A pager for iterating through list_nodes requests.

This class thinly wraps an initial ListNodesResponse object, and provides an __aiter__ method to iterate through its nodes field.

If there are more pages, the __aiter__ method will make additional ListNodes requests and continue to iterate through the nodes field on the corresponding responses.

All the usual ListNodesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListNodesPager

A pager for iterating through list_nodes requests.

This class thinly wraps an initial ListNodesResponse object, and provides an __iter__ method to iterate through its nodes field.

If there are more pages, the __iter__ method will make additional ListNodes requests and continue to iterate through the nodes field on the corresponding responses.

All the usual ListNodesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListTensorFlowVersionsAsyncPager

A pager for iterating through list_tensor_flow_versions requests.

This class thinly wraps an initial ListTensorFlowVersionsResponse object, and provides an __aiter__ method to iterate through its tensorflow_versions field.

If there are more pages, the __aiter__ method will make additional ListTensorFlowVersions requests and continue to iterate through the tensorflow_versions field on the corresponding responses.

All the usual ListTensorFlowVersionsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListTensorFlowVersionsPager

A pager for iterating through list_tensor_flow_versions requests.

This class thinly wraps an initial ListTensorFlowVersionsResponse object, and provides an __iter__ method to iterate through its tensorflow_versions field.

If there are more pages, the __iter__ method will make additional ListTensorFlowVersions requests and continue to iterate through the tensorflow_versions field on the corresponding responses.

All the usual ListTensorFlowVersionsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

AcceleratorType

A accelerator type that a Node can be configured with.

CreateNodeRequest

Request for CreateNode.

DeleteNodeRequest

Request for DeleteNode.

GetAcceleratorTypeRequest

Request for GetAcceleratorType.

GetNodeRequest

Request for GetNode.

GetTensorFlowVersionRequest

Request for GetTensorFlowVersion.

ListAcceleratorTypesRequest

Request for ListAcceleratorTypes.

ListAcceleratorTypesResponse

Response for ListAcceleratorTypes.

ListNodesRequest

Request for ListNodes.

ListNodesResponse

Response for ListNodes.

ListTensorFlowVersionsRequest

Request for ListTensorFlowVersions.

ListTensorFlowVersionsResponse

Response for ListTensorFlowVersions.

NetworkEndpoint

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

Node

A TPU instance.

ApiVersion

TPU API Version.

Health

Health defines the status of a TPU node as reported by Health Monitor.

LabelsEntry

The abstract base class for a message.

State

Represents the different states of a TPU node during its lifecycle.

OperationMetadata

Metadata describing an Operation][google.longrunning.Operation]

ReimageNodeRequest

Request for ReimageNode.

SchedulingConfig

Sets the scheduling options for this node.

StartNodeRequest

Request for StartNode.

StopNodeRequest

Request for StopNode.

Symptom

A Symptom instance.

SymptomType

SymptomType represents the different types of Symptoms that a TPU can be at.

TensorFlowVersion

A tensorflow version that a Node can be configured with.

TpuAsyncClient

Manages TPU nodes and other resources

TPU API v2

TpuClient

Manages TPU nodes and other resources

TPU API v2

ListAcceleratorTypesAsyncPager

A pager for iterating through list_accelerator_types requests.

This class thinly wraps an initial ListAcceleratorTypesResponse object, and provides an __aiter__ method to iterate through its accelerator_types field.

If there are more pages, the __aiter__ method will make additional ListAcceleratorTypes requests and continue to iterate through the accelerator_types field on the corresponding responses.

All the usual ListAcceleratorTypesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListAcceleratorTypesPager

A pager for iterating through list_accelerator_types requests.

This class thinly wraps an initial ListAcceleratorTypesResponse object, and provides an __iter__ method to iterate through its accelerator_types field.

If there are more pages, the __iter__ method will make additional ListAcceleratorTypes requests and continue to iterate through the accelerator_types field on the corresponding responses.

All the usual ListAcceleratorTypesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListNodesAsyncPager

A pager for iterating through list_nodes requests.

This class thinly wraps an initial ListNodesResponse object, and provides an __aiter__ method to iterate through its nodes field.

If there are more pages, the __aiter__ method will make additional ListNodes requests and continue to iterate through the nodes field on the corresponding responses.

All the usual ListNodesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListNodesPager

A pager for iterating through list_nodes requests.

This class thinly wraps an initial ListNodesResponse object, and provides an __iter__ method to iterate through its nodes field.

If there are more pages, the __iter__ method will make additional ListNodes requests and continue to iterate through the nodes field on the corresponding responses.

All the usual ListNodesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListRuntimeVersionsAsyncPager

A pager for iterating through list_runtime_versions requests.

This class thinly wraps an initial ListRuntimeVersionsResponse object, and provides an __aiter__ method to iterate through its runtime_versions field.

If there are more pages, the __aiter__ method will make additional ListRuntimeVersions requests and continue to iterate through the runtime_versions field on the corresponding responses.

All the usual ListRuntimeVersionsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListRuntimeVersionsPager

A pager for iterating through list_runtime_versions requests.

This class thinly wraps an initial ListRuntimeVersionsResponse object, and provides an __iter__ method to iterate through its runtime_versions field.

If there are more pages, the __iter__ method will make additional ListRuntimeVersions requests and continue to iterate through the runtime_versions field on the corresponding responses.

All the usual ListRuntimeVersionsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

AcceleratorConfig

A TPU accelerator configuration.

Type

TPU type.

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;

DiskMode

The different mode of the attached disk.

CreateNodeRequest

Request for CreateNode.

DeleteNodeRequest

Request for DeleteNode.

GenerateServiceIdentityRequest

Request for GenerateServiceIdentity.

GenerateServiceIdentityResponse

Response for GenerateServiceIdentity.

GetAcceleratorTypeRequest

Request for GetAcceleratorType.

GetGuestAttributesRequest

Request for GetGuestAttributes.

GetGuestAttributesResponse

Response for GetGuestAttributes.

GetNodeRequest

Request for GetNode.

GetRuntimeVersionRequest

Request for GetRuntimeVersion.

GuestAttributes

A guest attributes.

GuestAttributesEntry

A guest attributes namespace/key/value entry.

GuestAttributesValue

Array of guest attribute namespace/key/value tuples.

ListAcceleratorTypesRequest

Request for ListAcceleratorTypes.

ListAcceleratorTypesResponse

Response for ListAcceleratorTypes.

ListNodesRequest

Request for ListNodes.

ListNodesResponse

Response for ListNodes.

ListRuntimeVersionsRequest

Request for ListRuntimeVersions.

ListRuntimeVersionsResponse

Response for ListRuntimeVersions.

NetworkConfig

Network related configurations.

NetworkEndpoint

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

Node

A TPU instance.

ApiVersion

TPU API Version.

Health

Health defines the status of a TPU node as reported by Health Monitor.

LabelsEntry

The abstract base class for a message.

MetadataEntry

The abstract base class for a message.

State

Represents the different states of a TPU node during its lifecycle.

OperationMetadata

Metadata describing an Operation][google.longrunning.Operation]

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 TPU service.

ShieldedInstanceConfig

A set of Shielded Instance options.

StartNodeRequest

Request for StartNode.

StopNodeRequest

Request for StopNode.

Symptom

A Symptom instance.

SymptomType

SymptomType represents the different types of Symptoms that a TPU can be at.

UpdateNodeRequest

Request for UpdateNode.

TpuAsyncClient

Manages TPU nodes and other resources

TPU API v2alpha1

TpuClient

Manages TPU nodes and other resources

TPU API v2alpha1

ListAcceleratorTypesAsyncPager

A pager for iterating through list_accelerator_types requests.

This class thinly wraps an initial ListAcceleratorTypesResponse object, and provides an __aiter__ method to iterate through its accelerator_types field.

If there are more pages, the __aiter__ method will make additional ListAcceleratorTypes requests and continue to iterate through the accelerator_types field on the corresponding responses.

All the usual ListAcceleratorTypesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListAcceleratorTypesPager

A pager for iterating through list_accelerator_types requests.

This class thinly wraps an initial ListAcceleratorTypesResponse object, and provides an __iter__ method to iterate through its accelerator_types field.

If there are more pages, the __iter__ method will make additional ListAcceleratorTypes requests and continue to iterate through the accelerator_types field on the corresponding responses.

All the usual ListAcceleratorTypesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListNodesAsyncPager

A pager for iterating through list_nodes requests.

This class thinly wraps an initial ListNodesResponse object, and provides an __aiter__ method to iterate through its nodes field.

If there are more pages, the __aiter__ method will make additional ListNodes requests and continue to iterate through the nodes field on the corresponding responses.

All the usual ListNodesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListNodesPager

A pager for iterating through list_nodes requests.

This class thinly wraps an initial ListNodesResponse object, and provides an __iter__ method to iterate through its nodes field.

If there are more pages, the __iter__ method will make additional ListNodes requests and continue to iterate through the nodes field on the corresponding responses.

All the usual ListNodesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListQueuedResourcesAsyncPager

A pager for iterating through list_queued_resources requests.

This class thinly wraps an initial ListQueuedResourcesResponse object, and provides an __aiter__ method to iterate through its queued_resources field.

If there are more pages, the __aiter__ method will make additional ListQueuedResources requests and continue to iterate through the queued_resources field on the corresponding responses.

All the usual ListQueuedResourcesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListQueuedResourcesPager

A pager for iterating through list_queued_resources requests.

This class thinly wraps an initial ListQueuedResourcesResponse object, and provides an __iter__ method to iterate through its queued_resources field.

If there are more pages, the __iter__ method will make additional ListQueuedResources requests and continue to iterate through the queued_resources field on the corresponding responses.

All the usual ListQueuedResourcesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListRuntimeVersionsAsyncPager

A pager for iterating through list_runtime_versions requests.

This class thinly wraps an initial ListRuntimeVersionsResponse object, and provides an __aiter__ method to iterate through its runtime_versions field.

If there are more pages, the __aiter__ method will make additional ListRuntimeVersions requests and continue to iterate through the runtime_versions field on the corresponding responses.

All the usual ListRuntimeVersionsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListRuntimeVersionsPager

A pager for iterating through list_runtime_versions requests.

This class thinly wraps an initial ListRuntimeVersionsResponse object, and provides an __iter__ method to iterate through its runtime_versions field.

If there are more pages, the __iter__ method will make additional ListRuntimeVersions requests and continue to iterate through the runtime_versions field on the corresponding responses.

All the usual ListRuntimeVersionsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

AcceleratorConfig

A TPU accelerator configuration.

Type

TPU type.

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;

DiskMode

The different mode of the attached disk.

BootDiskConfig

Boot disk configurations.

CreateNodeRequest

Request for CreateNode.

CreateQueuedResourceRequest

Request for CreateQueuedResource.

CustomerEncryptionKey

Customer's encryption key.

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

DeleteNodeRequest

Request for DeleteNode.

DeleteQueuedResourceRequest

Request for DeleteQueuedResource.

GenerateServiceIdentityRequest

Request for GenerateServiceIdentity.

GenerateServiceIdentityResponse

Response for GenerateServiceIdentity.

GetAcceleratorTypeRequest

Request for GetAcceleratorType.

GetGuestAttributesRequest

Request for GetGuestAttributes.

GetGuestAttributesResponse

Response for GetGuestAttributes.

GetNodeRequest

Request for GetNode.

GetQueuedResourceRequest

Request for GetQueuedResource

GetRuntimeVersionRequest

Request for GetRuntimeVersion.

GuestAttributes

A guest attributes.

GuestAttributesEntry

A guest attributes namespace/key/value entry.

GuestAttributesValue

Array of guest attribute namespace/key/value tuples.

ListAcceleratorTypesRequest

Request for ListAcceleratorTypes.

ListAcceleratorTypesResponse

Response for ListAcceleratorTypes.

ListNodesRequest

Request for ListNodes.

ListNodesResponse

Response for ListNodes.

ListQueuedResourcesRequest

Request for ListQueuedResources.

ListQueuedResourcesResponse

Response for ListQueuedResources.

ListRuntimeVersionsRequest

Request for ListRuntimeVersions.

ListRuntimeVersionsResponse

Response for ListRuntimeVersions.

NetworkConfig

Network related configurations.

NetworkEndpoint

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

Node

A TPU instance.

ApiVersion

TPU API Version.

Health

Health defines the status of a TPU node as reported by Health Monitor.

LabelsEntry

The abstract base class for a message.

MetadataEntry

The abstract base class for a message.

State

Represents the different states of a TPU node during its lifecycle.

OperationMetadata

Metadata describing an Operation][google.longrunning.Operation]

QueuedResource

A QueuedResource represents a request for resources that will be placed in a queue and fulfilled when the necessary resources are available.

This message has oneof_ 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 other members.

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

BestEffort

BestEffort tier definition.

Guaranteed

Guaranteed tier definition.

QueueingPolicy

Defines the policy of the QueuedRequest.

This message has oneof_ 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 other members.

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

Spot

Spot tier definition.

Tpu

Details of the TPU resource(s) being requested.

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.

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.

QueuedResourceState

QueuedResourceState defines the details of the QueuedResource request.

This message has oneof_ 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 other members.

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

AcceptedData

Further data for the accepted state.

ActiveData

Further data for the active state.

CreatingData

Further data for the creating state.

DeletingData

Further data for the deleting state.

FailedData

Further data for the failed state.

ProvisioningData

Further data for the provisioning state.

State

Output only state of the request

StateInitiator

The initiator of the QueuedResource's SUSPENDING/SUSPENDED state.

SuspendedData

Further data for the suspended state.

SuspendingData

Further data for the suspending state.

ResetQueuedResourceRequest

Request for ResetQueuedResource.

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 TPU service.

ShieldedInstanceConfig

A set of Shielded Instance options.

SimulateMaintenanceEventRequest

Request for SimulateMaintenanceEvent.

StartNodeRequest

Request for StartNode.

StopNodeRequest

Request for StopNode.

Symptom

A Symptom instance.

SymptomType

SymptomType represents the different types of Symptoms that a TPU can be at.

UpdateNodeRequest

Request for UpdateNode.

Modules

pagers

API documentation for tpu_v1.services.tpu.pagers module.

pagers

API documentation for tpu_v2.services.tpu.pagers module.

pagers

API documentation for tpu_v2alpha1.services.tpu.pagers module.