# Policy Simulator V1 API - Module Google::Cloud::PolicySimulator::V1::AccessState (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.4.0 0.3.2 0.2.0 0.1.1 Reference documentation and code samples for the Policy Simulator V1 API module Google::Cloud::PolicySimulator::V1::AccessState.

Whether a principal has a permission for a resource.

## Constants

### ACCESS_STATE_UNSPECIFIED

**value:** 0  
Default value. This value is unused.

### GRANTED

**value:** 1  
The principal has the permission.

### NOT_GRANTED

**value:** 2  
The principal does not have the permission.

### UNKNOWN_CONDITIONAL

**value:** 3  
The principal has the permission only if a condition expression evaluates
to `true`.

### UNKNOWN_INFO_DENIED

**value:** 4  
The user who created the
[Replay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay "Google::Cloud::PolicySimulator::V1::Replay (class)") does not have
access to all of the policies that Policy Simulator needs to evaluate.