Method: folders.locations.fetchEffectiveSettings

locations.fetchEffectiveSettings returns the effective PAM Settings for the given project, folder, or organization.

HTTP request

GET https://privilegedaccessmanager.googleapis.com/v1beta/{parent=folders/*/locations/*}:fetchEffectiveSettings

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource for which the effective settings should be fetched. Should be in one of the following formats:

  • projects/{project-number|project-id}/locations/{region}
  • folders/{folder-number}/locations/{region}
  • organizations/{organization-number}/locations/{region}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of FetchEffectiveSettingsResponse.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • privilegedaccessmanager.settings.fetchEffective

For more information, see the IAM documentation.