# Class State (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.9

    State(value)

Different states a grant can be in.

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `STATE_UNSPECIFIED` | Unspecified state. This value is never returned by the server. |
| `APPROVAL_AWAITED` | The entitlement had an approval workflow configured and this grant is waiting for the workflow to complete. |
| `DENIED` | The approval workflow completed with a denied result. No access is granted for this grant. This is a terminal state. |
| `SCHEDULED` | The approval workflow completed successfully with an approved result or none was configured. Access is provided at an appropriate time. |
| `ACTIVATING` | Access is being given. |
| `ACTIVE` | Access was successfully given and is currently active. |
| `ACTIVATION_FAILED` | The system could not give access due to a non-retriable error. This is a terminal state. |
| `EXPIRED` | Expired after waiting for the approval workflow to complete. This is a terminal state. |
| `REVOKING` | Access is being revoked. |
| `REVOKED` | Access was revoked by a user. This is a terminal state. |
| `ENDED` | System took back access as the requested duration was over. This is a terminal state. |
| `WITHDRAWING` | Access is being withdrawn. |
| `WITHDRAWN` | Grant was withdrawn by the grant owner. This is a terminal state. |