---
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. Returns an empty policy if the resource exists and does not have a policy set.

## Path parameters

- `resource` string, required

## Query parameters

- `options.requestedPolicyVersion` integer

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/ml.md) · [All operations](https://skmtc.net/google/apis/ml/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/ml/versions/2135f4d5ddf1/schema)
