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.
strip_address
Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
strport
Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
google.cloud.tpu_v1.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.
strtensorflow_version
Required. The version of Tensorflow running in the Node.
strnetwork
The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
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.
strservice_account
Output only. The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.
google.protobuf.timestamp_pb2.Timestampcreate_time
Output only. The time when the node was created.
google.cloud.tpu_v1.types.SchedulingConfigscheduling_config
The scheduling options for this node.
Sequence[google.cloud.tpu_v1.types.NetworkEndpoint]network_endpoints
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow clients of the node reach out to the 0th entry in this map first.
google.cloud.tpu_v1.types.Node.Healthhealth
The health status of the TPU node.
Sequence[google.cloud.tpu_v1.types.Node.LabelsEntry]labels
Resource labels to represent user-provided metadata.
booluse_service_networking
Whether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled.
google.cloud.tpu_v1.types.Node.ApiVersionapi_version
Output only. The API version that created this Node.
Sequence[google.cloud.tpu_v1.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_v1.types.Node.LabelsEntry class.

State

State(value)

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