Class Node

A TPU instance.

Attributes
NameDescription
strname
Output only. Immutable. The name of the TPU.
strdescription
The user-supplied description of the TPU. Maximum of 512 characters.
straccelerator_type
Required. The type of hardware accelerators associated with this node.
google.cloud.tpu_v2alpha1.types.Node.Statestate
Output only. The current state for the TPU Node.
strhealth_description
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
strruntime_version
Required. The runtime version running in the Node.
google.cloud.tpu_v2alpha1.types.NetworkConfignetwork_config
Network configurations for the TPU node.
strcidr_block
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
google.cloud.tpu_v2alpha1.types.ServiceAccountservice_account
The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
google.protobuf.timestamp_pb2.Timestampcreate_time
Output only. The time when the node was created.
google.cloud.tpu_v2alpha1.types.SchedulingConfigscheduling_config
The scheduling options for this node.
Sequence[google.cloud.tpu_v2alpha1.types.NetworkEndpoint]network_endpoints
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
google.cloud.tpu_v2alpha1.types.Node.Healthhealth
The health status of the TPU node.
Sequence[google.cloud.tpu_v2alpha1.types.Node.LabelsEntry]labels
Resource labels to represent user-provided metadata.
Sequence[google.cloud.tpu_v2alpha1.types.Node.MetadataEntry]metadata
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
Sequence[str]tags
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
intid
Output only. The unique identifier for the TPU Node.
Sequence[google.cloud.tpu_v2alpha1.types.AttachedDisk]data_disks
The additional data disks for the Node.
google.cloud.tpu_v2alpha1.types.Node.ApiVersionapi_version
Output only. The API version that created this Node.
Sequence[google.cloud.tpu_v2alpha1.types.Symptom]symptoms
Output only. The Symptoms that have occurred to the TPU Node.

Inheritance

builtins.object > proto.message.Message > Node

Classes

ApiVersion

ApiVersion(value)

TPU API Version.

Health

Health(value)

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

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

API documentation for tpu_v2alpha1.types.Node.LabelsEntry class.

MetadataEntry

MetadataEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

API documentation for tpu_v2alpha1.types.Node.MetadataEntry class.

State

State(value)

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