# Method: getIapSettings

- [HTTP request](https://docs.cloud.google.com/iap/docs/reference/rest/v1/TopLevel/getIapSettings#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/iap/docs/reference/rest/v1/TopLevel/getIapSettings#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/iap/docs/reference/rest/v1/TopLevel/getIapSettings#body.request_body)
- [Response body](https://docs.cloud.google.com/iap/docs/reference/rest/v1/TopLevel/getIapSettings#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/iap/docs/reference/rest/v1/TopLevel/getIapSettings#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/iap/docs/reference/rest/v1/TopLevel/getIapSettings#body.aspect_1)
- [Try it!](https://docs.cloud.google.com/iap/docs/reference/rest/v1/TopLevel/getIapSettings#try-it)

Gets the IAP settings on a particular IAP protected resource.

### HTTP request

`GET https://iap.googleapis.com/v1/{name=**}:iapSettings`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. The resource name for which to retrieve the settings. Authorization: Requires the `getSettings` permission for the associated resource. Authorization requires one or more of the following [IAM](https://cloud.google.com/iam/docs/) permissions on the specified resource `name`: - `iap.organizations.getSettings` - `iap.folders.getSettings` - `iap.projects.getSettings` - `iap.web.getSettings` - `iap.webTypes.getSettings` - `iap.webServices.getSettings` - `iap.webServiceVersions.getSettings` |

### Request body

The request body must be empty.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/iap/docs/reference/rest/v1/IapSettings`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires **one of** the following [IAM](https://cloud.google.com/iam/docs) permissions on the `name` resource, depending on the resource type:

- `iap.folders.getSettings`
- `iap.organizations.getSettings`
- `iap.projects.getSettings`
- `iap.web.getSettings`
- `iap.webServices.getSettings`
- `iap.webServiceVersions.getSettings`
- `iap.webTypes.getSettings`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).