Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
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."],[[["This endpoint creates a new reservation resource using a `POST` request to the specified URL, which follows gRPC Transcoding syntax."],["The `parent` path parameter is required, specifying the project and location where the reservation will be created, and it requires the `bigquery.reservations.create` IAM permission."],["The `reservationId` query parameter, which must follow a specific format of lowercase alphanumeric characters or dashes, is used to define the reservation ID."],["The request body must contain a `Reservation` instance, and a successfully created `Reservation` instance will be returned in the response body."],["Authorization for this endpoint requires either the `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]