Method: projects.locations.capacityCommitments.create

Creates a new capacity commitment resource.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Resource name of the parent reservation. E.g., projects/myproject/locations/US

Query parameters

Parameters
enforceSingleAdminProjectPerOrg

boolean

If true, fail the request if another project in the organization has a capacity commitment.

Request body

The request body contains an instance of CapacityCommitment.

Response body

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

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.

Try it!