---
title: "GET /v1/{+resource}:getIamPolicy"
method: GET
path: "/v1/{+resource}:getIamPolicy"
tags: ["projects"]
---

# GET /v1/{+resource}:getIamPolicy

`GET /v1/{+resource}:getIamPolicy`

Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the resource exists but doesn't have a set policy. Supported resources are: - Reservations - ReservationAssignments To call this method, you must have the following Google IAM permissions: - `bigqueryreservation.reservations.getIamPolicy` to get policies on reservations.

## Path parameters

- `resource` string, required

## Query parameters

- `options.requestedPolicyVersion` integer

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/bigqueryreservation.md) · [All operations](https://skmtc.dev/google/apis/bigqueryreservation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/bigqueryreservation/revisions/3502c38ecee3/schema)
