Required. Resource name of the parent reservation. E.g., projects/myproject/locations/US
Authorization requires the following IAM permission on the specified resource parent:
bigquery.capacityCommitments.create
Query parameters
Parameters
enforceSingleAdminProjectPerOrg
boolean
If true, fail the request if another project in the organization has a capacity commitment.
capacityCommitmentId
string
The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["\u003cp\u003eThis endpoint creates a new capacity commitment resource within a specified project and location.\u003c/p\u003e\n"],["\u003cp\u003eThe request is a \u003ccode\u003ePOST\u003c/code\u003e request to the provided URL, utilizing gRPC Transcoding syntax with a required \u003ccode\u003eparent\u003c/code\u003e path parameter indicating the resource location.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters include \u003ccode\u003eenforceSingleAdminProjectPerOrg\u003c/code\u003e for organization-wide capacity commitment checks and \u003ccode\u003ecapacityCommitmentId\u003c/code\u003e to set a custom ID for the commitment.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both use the \u003ccode\u003eCapacityCommitment\u003c/code\u003e resource definition, and creating the commitment requires specific IAM permissions.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request 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 scopes.\u003c/p\u003e\n"]]],[],null,[]]