NodeResponse

data class NodeResponse(val acceleratorConfig: AcceleratorConfigResponse, val acceleratorType: String, val apiVersion: String, val cidrBlock: String, val createTime: String, val dataDisks: List<AttachedDiskResponse>, val description: String, val health: String, val healthDescription: String, val labels: Map<String, String>, val metadata: Map<String, String>, val multisliceNode: Boolean, val name: String, val networkConfig: NetworkConfigResponse, val networkEndpoints: List<NetworkEndpointResponse>, val queuedResource: String, val runtimeVersion: String, val schedulingConfig: SchedulingConfigResponse, val serviceAccount: ServiceAccountResponse, val shieldedInstanceConfig: ShieldedInstanceConfigResponse, val state: String, val symptoms: List<SymptomResponse>, val tags: List<String>)

A TPU instance.

Constructors

Link copied to clipboard
fun NodeResponse(acceleratorConfig: AcceleratorConfigResponse, acceleratorType: String, apiVersion: String, cidrBlock: String, createTime: String, dataDisks: List<AttachedDiskResponse>, description: String, health: String, healthDescription: String, labels: Map<String, String>, metadata: Map<String, String>, multisliceNode: Boolean, name: String, networkConfig: NetworkConfigResponse, networkEndpoints: List<NetworkEndpointResponse>, queuedResource: String, runtimeVersion: String, schedulingConfig: SchedulingConfigResponse, serviceAccount: ServiceAccountResponse, shieldedInstanceConfig: ShieldedInstanceConfigResponse, state: String, symptoms: List<SymptomResponse>, tags: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The AccleratorConfig for the TPU Node.

Link copied to clipboard

The type of hardware accelerators associated with this node.

Link copied to clipboard

The API version that created this Node.

Link copied to clipboard

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.

Link copied to clipboard

The time when the node was created.

Link copied to clipboard

The additional data disks for the Node.

Link copied to clipboard

The user-supplied description of the TPU. Maximum of 512 characters.

Link copied to clipboard

The health status of the TPU node.

Link copied to clipboard

If this field is populated, it contains a description of why the TPU Node is unhealthy.

Link copied to clipboard

Resource labels to represent user-provided metadata.

Link copied to clipboard

Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script

Link copied to clipboard

Whether the Node belongs to a Multislice group.

Link copied to clipboard

Immutable. The name of the TPU.

Link copied to clipboard

Network configurations for the TPU node.

Link copied to clipboard

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.

Link copied to clipboard

The qualified name of the QueuedResource that requested this Node.

Link copied to clipboard

The runtime version running in the Node.

Link copied to clipboard

The scheduling options for this node.

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard

The current state for the TPU Node.

Link copied to clipboard

The Symptoms that have occurred to the TPU Node.

Link copied to clipboard

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.