Method: getIapSettings

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 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 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 IapSettings.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM 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.