NodeSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)
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.
Attributes | |
---|---|
Name | Description |
parent |
str
Required. The parent resource name. |
node_id |
str
The unqualified resource name. Should follow the ^[A-Za-z0-9_. +%-]+$` regex format. This is only
specified when requesting a single node. In case of
multi-node requests, multi_node_params must be populated
instead. It's an error to specify both node_id and
multi_node_params.
|
multi_node_params |
google.cloud.tpu_v2alpha1.types.QueuedResource.Tpu.NodeSpec.MultiNodeParams
Optional. Fields to specify in case of multi-node request. |
node |
google.cloud.tpu_v2alpha1.types.Node
Required. The node. |
Classes
MultiNodeParams
MultiNodeParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)
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.