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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["\u003cp\u003eThis endpoint creates a new reservation resource using a \u003ccode\u003ePOST\u003c/code\u003e request to the specified URL, which follows gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required, specifying the project and location where the reservation will be created, and it requires the \u003ccode\u003ebigquery.reservations.create\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereservationId\u003c/code\u003e query parameter, which must follow a specific format of lowercase alphanumeric characters or dashes, is used to define the reservation ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a \u003ccode\u003eReservation\u003c/code\u003e instance, and a successfully created \u003ccode\u003eReservation\u003c/code\u003e instance will be returned in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this endpoint requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/bigquery\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]