# IAM Policy Troubleshooter V1 API - Module Google::Cloud::PolicyTroubleshooter::V1::AccessState (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.11.0 0.10.2 0.9.0 0.8.1 0.7.1 0.6.0 0.5.0 0.4.0 0.3.5 Reference documentation and code samples for the IAM Policy Troubleshooter V1 API module Google::Cloud::PolicyTroubleshooter::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 sender of the request does not have access to all of the policies that
Policy Troubleshooter needs to evaluate.