# Privileged Access Manager V1 API - Module Google::Cloud::PrivilegedAccessManager::V1::Grant::State (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Privileged Access Manager V1 API module Google::Cloud::PrivilegedAccessManager::V1::Grant::State.

Different states a grant can be in.

## Constants

### STATE_UNSPECIFIED

**value:** 0  
Unspecified state. This value is never returned by the server.

### APPROVAL_AWAITED

**value:** 1  
The entitlement had an approval workflow configured and this grant is
waiting for the workflow to complete.

### DENIED

**value:** 3  
The approval workflow completed with a denied result. No access is
granted for this grant. This is a terminal state.

### SCHEDULED

**value:** 4  
The approval workflow completed successfully with an approved result or
none was configured. Access is provided at an appropriate time.

### ACTIVATING

**value:** 5  
Access is being given.

### ACTIVE

**value:** 6  
Access was successfully given and is currently active.

### ACTIVATION_FAILED

**value:** 7  
The system could not give access due to a non-retriable error. This is a
terminal state.

### EXPIRED

**value:** 8  
Expired after waiting for the approval workflow to complete. This is a
terminal state.

### REVOKING

**value:** 9  
Access is being revoked.

### REVOKED

**value:** 10  
Access was revoked by a user. This is a terminal state.

### ENDED

**value:** 11  
System took back access as the requested duration was over. This is a
terminal state.

### WITHDRAWING

**value:** 12  
Access is being withdrawn.

### WITHDRAWN

**value:** 13  
Grant was withdrawn by the grant owner. This is a terminal state.