# Google Cloud Privileged Access Manager V1 Client - Class IAMAccessDenied (0.4.4)

0.4.4 (latest) 0.4.3 0.3.0 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Privileged Access Manager V1 Client class IAMAccessDenied.

PAM's service account is being denied access by Cloud IAM.

This can be fixed by granting a role that contains the missing
permissions to the service account or exempting it from deny policies if
they are blocking the access.

Generated from protobuf message `google.cloud.privilegedaccessmanager.v1.CheckOnboardingStatusResponse.Finding.IAMAccessDenied`

## Namespace

Google \\ Cloud \\ PrivilegedAccessManager \\ V1 \\ CheckOnboardingStatusResponse \\ Finding

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ missing_permissions` | `string[]` List of permissions that are being denied. |

### getMissingPermissions

List of permissions that are being denied.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setMissingPermissions

List of permissions that are being denied.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |