A service to modify your BigQuery reservations.
- REST Resource: v1.projects.locations
- REST Resource: v1.projects.locations.capacityCommitments
- REST Resource: v1.projects.locations.reservations
- REST Resource: v1.projects.locations.reservations.assignments
Service: bigqueryreservation.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
- https://bigqueryreservation.googleapis.com
REST Resource: v1.projects.locations
| Methods | |
|---|---|
| getBiReservation | GET /v1/{name=projects/*/locations/*/biReservation}Retrieves a BI reservation. | 
| searchAllAssignments | GET /v1/{parent=projects/*/locations/*}:searchAllAssignmentsLooks up assignments for a specified resource for a particular region. | 
| searchAssignments  | GET /v1/{parent=projects/*/locations/*}:searchAssignmentsDeprecated: Looks up assignments for a specified resource for a particular region. | 
| updateBiReservation | PATCH /v1/{biReservation.name=projects/*/locations/*/biReservation}Updates a BI reservation. | 
REST Resource: v1.projects.locations.capacityCommitments
| Methods | |
|---|---|
| create | POST /v1/{parent=projects/*/locations/*}/capacityCommitmentsCreates a new capacity commitment resource. | 
| delete | DELETE /v1/{name=projects/*/locations/*/capacityCommitments/*}Deletes a capacity commitment. | 
| get | GET /v1/{name=projects/*/locations/*/capacityCommitments/*}Returns information about the capacity commitment. | 
| list | GET /v1/{parent=projects/*/locations/*}/capacityCommitmentsLists all the capacity commitments for the admin project. | 
| merge | POST /v1/{parent=projects/*/locations/*}/capacityCommitments:mergeMerges capacity commitments of the same plan into a single commitment. | 
| patch | PATCH /v1/{capacityCommitment.name=projects/*/locations/*/capacityCommitments/*}Updates an existing capacity commitment. | 
| split | POST /v1/{name=projects/*/locations/*/capacityCommitments/*}:splitSplits capacity commitment to two commitments of the same plan and commitment_end_time. | 
REST Resource: v1.projects.locations.reservations
| Methods | |
|---|---|
| create | POST /v1/{parent=projects/*/locations/*}/reservationsCreates a new reservation resource. | 
| delete | DELETE /v1/{name=projects/*/locations/*/reservations/*}Deletes a reservation. | 
| failoverReservation | POST /v1/{name=projects/*/locations/*/reservations/*}:failoverReservationFail over a reservation to the secondary location. | 
| get | GET /v1/{name=projects/*/locations/*/reservations/*}Returns information about the reservation. | 
| getIamPolicy | GET /v1/{resource=projects/*/locations/*/reservations/*}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1/{parent=projects/*/locations/*}/reservationsLists all the reservations for the project in the specified location. | 
| patch | PATCH /v1/{reservation.name=projects/*/locations/*/reservations/*}Updates an existing reservation resource. | 
| setIamPolicy | POST /v1/{resource=projects/*/locations/*/reservations/*}:setIamPolicySets an access control policy for a resource. | 
| testIamPermissions | POST /v1/{resource=projects/*/locations/*/reservations/*}:testIamPermissionsGets your permissions on a resource. | 
REST Resource: v1.projects.locations.reservations.assignments
| Methods | |
|---|---|
| create | POST /v1/{parent=projects/*/locations/*/reservations/*}/assignmentsCreates an assignment object which allows the given project to submit jobs of a certain type using slots from the specified reservation. | 
| delete | DELETE /v1/{name=projects/*/locations/*/reservations/*/assignments/*}Deletes a assignment. | 
| getIamPolicy | GET /v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1/{parent=projects/*/locations/*/reservations/*}/assignmentsLists assignments. | 
| move | POST /v1/{name=projects/*/locations/*/reservations/*/assignments/*}:moveMoves an assignment under a new reservation. | 
| patch | PATCH /v1/{assignment.name=projects/*/locations/*/reservations/*/assignments/*}Updates an existing assignment. | 
| setIamPolicy | POST /v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:setIamPolicySets an access control policy for a resource. | 
| testIamPermissions | POST /v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:testIamPermissionsGets your permissions on a resource. |