---
title: "POST /v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}:testIamPermissions"
method: POST
path: "/v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}:testIamPermissions"
tags: ["projects"]
---

# POST /v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}:testIamPermissions

`POST /v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}:testIamPermissions`

## Request

- Base URL: `https://bigqueryreservation.googleapis.com`
- URL: `https://bigqueryreservation.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}:testIamPermissions`
- 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`

Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Reservations No Google IAM permissions are required to call this method.

## Path parameters

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

## Request body

- TestIamPermissionsRequest: Request message for `TestIamPermissions` method.
  - `permissions` string[]: The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).

## Response `200`

Successful response

- TestIamPermissionsResponse: Response message for `TestIamPermissions` method.
  - `permissions` string[]: A subset of `TestPermissionsRequest.permissions` that the caller is allowed.

## 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/reservations/:reservationsId:testIamPermissions/post.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)
