# Class CreateWorkerPoolRequest (0.16.1)

0.16.1 (latest) 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.19 0.9.1 0.8.1 0.7.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0

    CreateWorkerPoolRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for creating a WorkerPool.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The location and project in which this worker pool should be created. Format: `projects/{project}/locations/{location}`, where `{project}` can be project id or number. Only lowercase characters, digits, and hyphens. |
| `worker_pool` | `https://docs.cloud.google.com/python/docs/reference/run/latest/google.cloud.run_v2.types.WorkerPool` Required. The WorkerPool instance to create. |
| `worker_pool_id` | `str` Required. The unique identifier for the WorkerPool. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the worker pool becomes `{parent}/workerPools/{worker_pool_id}`. |
| `validate_only` | `bool` Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources. |