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.
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.
str
Optional. 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
multislice requests, multislice_params must be populated
instead.
This field is a member of oneof_ name_strategy.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Class NodeSpec (1.23.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.23.2 (latest)](/python/docs/reference/tpu/latest/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.23.0](/python/docs/reference/tpu/1.23.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.22.0](/python/docs/reference/tpu/1.22.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.21.0](/python/docs/reference/tpu/1.21.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.20.0](/python/docs/reference/tpu/1.20.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.19.1](/python/docs/reference/tpu/1.19.1/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.18.5](/python/docs/reference/tpu/1.18.5/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.17.0](/python/docs/reference/tpu/1.17.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.16.0](/python/docs/reference/tpu/1.16.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.15.0](/python/docs/reference/tpu/1.15.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.14.0](/python/docs/reference/tpu/1.14.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.13.0](/python/docs/reference/tpu/1.13.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.12.0](/python/docs/reference/tpu/1.12.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.11.2](/python/docs/reference/tpu/1.11.2/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.10.1](/python/docs/reference/tpu/1.10.1/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.9.0](/python/docs/reference/tpu/1.9.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.8.0](/python/docs/reference/tpu/1.8.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.7.2](/python/docs/reference/tpu/1.7.2/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.6.0](/python/docs/reference/tpu/1.6.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.5.2](/python/docs/reference/tpu/1.5.2/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.4.1](/python/docs/reference/tpu/1.4.1/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.3.4](/python/docs/reference/tpu/1.3.4/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.2.1](/python/docs/reference/tpu/1.2.1/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.1.0](/python/docs/reference/tpu/1.1.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [1.0.2](/python/docs/reference/tpu/1.0.2/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [0.2.2](/python/docs/reference/tpu/0.2.2/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec)\n- [0.1.0](/python/docs/reference/tpu/0.1.0/google.cloud.tpu_v2.types.QueuedResource.Tpu.NodeSpec) \n\n NodeSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nDetails of the TPU node(s) being requested. Users can request\neither a single node or multiple nodes.\nNodeSpec provides the specification for node(s) to be created.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\nClasses\n-------\n\n### MultisliceParams\n\n MultisliceParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nParameters to specify for multislice QueuedResource requests. This\nmessage must be populated in case of multislice requests instead of\nnode_id."]]