# Google Cloud Privileged Access Manager V1 Client - Class ActivationFailed (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 ActivationFailed.

An event representing that the grant activation failed.

Generated from protobuf message `google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.ActivationFailed`

## Namespace

Google \\ Cloud \\ PrivilegedAccessManager \\ V1 \\ Grant \\ Timeline \\ Event

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ error` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html` Output only. The error that occurred while activating the grant. |

### getError

Output only. The error that occurred while activating the grant.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html|null` |   |

### hasError

### clearError

### setError

Output only. The error that occurred while activating the grant.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html` |

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