Method: projects.locations.reservations.create

Creates a new reservation resource.

HTTP request

POST https://bigqueryreservation.googleapis.com/v1/{parent=projects/*/locations/*}/reservations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Project, location. E.g., projects/myproject/locations/US

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

  • bigquery.reservations.create

Query parameters

Parameters
reservationId

string

The reservation ID. It must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.

Request body

The request body contains an instance of Reservation.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/bigquery
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.