# Class MultiNodeParams (1.27.0)

1.27.0 (latest) 1.26.0 1.25.0 1.24.0 1.23.2 1.22.0 1.21.0 1.20.0 1.19.1 1.18.5 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.2 1.10.1 1.9.0 1.8.0 1.7.2 1.6.0 1.5.2 1.4.1 1.3.4 1.2.1 1.1.0 1.0.2 0.2.2 0.1.0

    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.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `node_count` | `int` Required. Number of nodes with this spec. The system will attempt to provison "node_count" nodes as part of the request. This needs to be \> 1. |
| `node_id_prefix` | `str` Prefix of node_ids in case of multi-node request Should follow the `^[A-Za-z0-9_.`+%-\]+$\` regex format. If node_count = 3 and node_id_prefix = "np", node ids of nodes created will be "np-0", "np-1", "np-2". If this field is not provided we use queued_resource_id as the node_id_prefix. |
| `workload_type` | `https://docs.cloud.google.com/python/docs/reference/tpu/latest/google.cloud.tpu_v2alpha1.types.QueuedResource.Tpu.NodeSpec.MultiNodeParams.WorkloadType` Optional. The workload type for the multi-node request. |

## Classes

### WorkloadType

    WorkloadType(value)

The workload type for the multi-node request.