Method: projects.locations.reservations.assignments.create

Returns google.rpc.Code.PERMISSION_DENIED if user does not have 'bigquery.admin' permissions on the project using the reservation and the project that owns this reservation. Returns google.rpc.Code.INVALID_ARGUMENT when location of the assignment does not match location of the reservation.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The parent resource name of the assignment E.g.: projects/myproject/locations/US/reservations/team1-prod

Authorization requires the following IAM permission on the specified resource parent:

  • bigquery.reservationAssignments.create

Request body

The request body contains an instance of Assignment.

Response body

If successful, the response body contains a newly created instance of Assignment.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.

Try it!