# Class CreateAssignmentRequest (1.25.0)

1.25.0 (latest) 1.24.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.2 1.16.0 1.15.0 1.14.1 1.13.5 1.12.0 1.11.3 1.10.0 1.9.1 1.8.0 1.7.3 1.6.3 1.5.0 1.4.1 1.3.1 1.2.2 1.1.0 1.0.1 0.4.2 0.3.0 0.2.0 0.1.0

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

The request for
ReservationService.CreateAssignment.
Note: "bigquery.reservationAssignments.create" permission is
required on the related assignee.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The parent resource name of the assignment E.g. `projects/myproject/locations/US/reservations/team1-prod` |
| `assignment` | `https://docs.cloud.google.com/python/docs/reference/bigqueryreservation/latest/google.cloud.bigquery_reservation_v1.types.Assignment` Assignment resource to create. |
| `assignment_id` | `str` The optional assignment ID. Assignment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. Max length is 64 characters. |