projects
Creates a new capacity commitment resource.
post/v1/{+parent}/capacityCommitments
Path parameters
parentstring required
Required. Resource name of the parent reservation. E.g., projects/myproject/locations/US
Query parameters
capacityCommitmentIdstring
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.
enforceSingleAdminProjectPerOrgboolean
If true, fail the request if another project in the organization has a capacity commitment.
Request body
Response
Successful response