# Policy Simulator v1 API - Enum AccessStateDiff.Types.AccessChangeType (1.4.0)

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

- [1.4.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.AccessStateDiff.Types.AccessChangeType)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.3.0/Google.Cloud.PolicySimulator.V1.AccessStateDiff.Types.AccessChangeType)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.2.0/Google.Cloud.PolicySimulator.V1.AccessStateDiff.Types.AccessChangeType)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.1.0/Google.Cloud.PolicySimulator.V1.AccessStateDiff.Types.AccessChangeType)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.0.0/Google.Cloud.PolicySimulator.V1.AccessStateDiff.Types.AccessChangeType)

    public enum AccessStateDiff.Types.AccessChangeType

Reference documentation and code samples for the Policy Simulator v1 API enum AccessStateDiff.Types.AccessChangeType.

How the principal's access, specified in the AccessState field, changed
between the current (baseline) policies and proposed (simulated) policies.

## Namespace

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

## Assembly

Google.Cloud.PolicySimulator.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `AccessGained` | The principal did not have access under the current policies (`NOT_GRANTED`), but will have access after the proposed changes (`GRANTED`). |
| `AccessMaybeGained` | This result can occur for the following reasons: - The principal did not have access under the current policies (`NOT_GRANTED`), but their access after the proposed changes is `UNKNOWN`. - The principal's access under the current policies is `UNKNOWN`, but they will have access after the proposed changes (`GRANTED`). |
| `AccessMaybeRevoked` | This result can occur for the following reasons: - The principal had access under the current policies (`GRANTED`), but their access after the proposed changes is `UNKNOWN`. - The principal's access under the current policies is `UNKNOWN`, but they will not have access after the proposed changes (`NOT_GRANTED`). |
| `AccessRevoked` | The principal had access under the current policies (`GRANTED`), but will no longer have access after the proposed changes (`NOT_GRANTED`). |
| `NoChange` | The principal's access did not change. This includes the case where both baseline and simulated are UNKNOWN, but the unknown information is equivalent. |
| `UnknownChange` | The principal's access under both the current policies and the proposed policies is `UNKNOWN`, but the unknown information differs between them. |
| `Unspecified` | Default value. This value is unused. |