# Class CreateQueueRequest (2.23.0)

2.23.0 (latest) 2.22.0 2.21.0 2.20.0 2.19.3 2.18.0 2.17.1 2.16.5 2.15.1 2.14.2 2.13.2 2.12.1 2.11.0 2.10.4 2.9.1 2.8.1 2.7.2 2.6.0 2.5.3 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.5.2 1.4.0 1.3.0 1.2.1

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

Request message for
CreateQueue.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The location name in which the queue will be created. For example: `projects/PROJECT_ID/locations/LOCATION_ID` The list of allowed locations can be obtained by calling Cloud Tasks' implementation of ListLocations. |
| `queue` | `https://docs-0cloud-0google-0com.linkedin.net.nz/python/docs/reference/cloudtasks/latest/google.cloud.tasks_v2.types.Queue` Required. The queue to create. \[Queue's name\]\[google.cloud.tasks.v2.Queue.name\] cannot be the same as an existing queue. |