---
title: "PATCH /v1/projects/{projectsId}/locations/{locationsId}/biReservation"
method: PATCH
path: "/v1/projects/{projectsId}/locations/{locationsId}/biReservation"
tags: ["projects"]
---

# PATCH /v1/projects/{projectsId}/locations/{locationsId}/biReservation

`PATCH /v1/projects/{projectsId}/locations/{locationsId}/biReservation`

## Request

- Base URL: `https://bigqueryreservation.googleapis.com`
- URL: `https://bigqueryreservation.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/biReservation`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/bigquery`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/bigquery`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Updates a BI reservation. Only fields specified in the `field_mask` are updated. A singleton BI reservation always exists with default size 0. In order to reserve BI capacity it needs to be updated to an amount greater than 0. In order to release BI capacity reservation size must be set to 0.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Query parameters

- `updateMask` string, google-fieldmask

## Request body

- BiReservation: Represents a BI Reservation.
  - `name` string: Identifier. The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id}/locations/{location_id}/biReservation`.
  - `preferredTables` TableReference[]: Optional. Preferred tables to use BI capacity for.
    - `datasetId` string: Optional. The ID of the dataset in the above project.
    - `projectId` string: Optional. The assigned project ID of the project.
    - `tableId` string: Optional. The ID of the table in the above dataset.
  - `size` string, int64: Optional. Size of a reservation, in bytes.
  - `updateTime` string, google-datetime: Output only. The last update timestamp of a reservation.

## Response `200`

Successful response

- BiReservation: Represents a BI Reservation.
  - `name` string: Identifier. The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id}/locations/{location_id}/biReservation`.
  - `preferredTables` TableReference[]: Optional. Preferred tables to use BI capacity for.
    - `datasetId` string: Optional. The ID of the dataset in the above project.
    - `projectId` string: Optional. The assigned project ID of the project.
    - `tableId` string: Optional. The ID of the table in the above dataset.
  - `size` string, int64: Optional. Size of a reservation, in bytes.
  - `updateTime` string, google-datetime: Output only. The last update timestamp of a reservation.

## Changes

- **2026-11-03** `a802531c2771`: 4 info
  - the security scope `https://www.googleapis.com/auth/bigquery` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/bigquery` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/bigqueryreservation/changes/v1/projects/:projectsId/locations/:locationsId/biReservation/patch.md)

---

[API](https://skmtc.dev/google/apis/bigqueryreservation.md) - [All operations](https://skmtc.dev/google/apis/bigqueryreservation/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/bigqueryreservation/revisions/a802531c2771?raw)
