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



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

Authorization requires the following Google 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!

Trang này có hữu ích không? Hãy cho chúng tôi biết đánh giá của bạn:

Gửi phản hồi về...

Bạn cần trợ giúp? Truy cập trang hỗ trợ của chúng tôi.