# Policy Troubleshooter v1 API - Enum AccessState (2.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1.AccessState)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/2.5.0/Google.Cloud.PolicyTroubleshooter.V1.AccessState)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/2.4.0/Google.Cloud.PolicyTroubleshooter.V1.AccessState)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/2.3.0/Google.Cloud.PolicyTroubleshooter.V1.AccessState)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/2.2.0/Google.Cloud.PolicyTroubleshooter.V1.AccessState)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/2.1.0/Google.Cloud.PolicyTroubleshooter.V1.AccessState)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/2.0.0/Google.Cloud.PolicyTroubleshooter.V1.AccessState)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/1.2.0/Google.Cloud.PolicyTroubleshooter.V1.AccessState)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/1.1.0/Google.Cloud.PolicyTroubleshooter.V1.AccessState)

    public enum AccessState

Reference documentation and code samples for the Policy Troubleshooter v1 API enum AccessState.

Whether a principal has a permission for a resource.

## Namespace

[Google.Cloud.PolicyTroubleshooter.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1)

## Assembly

Google.Cloud.PolicyTroubleshooter.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Granted` | The principal has the permission. |
| `NotGranted` | The principal does not have the permission. |
| `UnknownConditional` | The principal has the permission only if a condition expression evaluates to `true`. |
| `UnknownInfoDenied` | The sender of the request does not have access to all of the policies that Policy Troubleshooter needs to evaluate. |
| `Unspecified` | Default value. This value is unused. |