# Google Cloud OS Config v1alpha API - Enum OSPolicyComplianceState (2.0.0-alpha07)

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

- [2.0.0-alpha07 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.OSPolicyComplianceState)
- [2.0.0-alpha06](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/2.0.0-alpha06/Google.Cloud.OsConfig.V1Alpha.OSPolicyComplianceState)
- [1.0.0-alpha04](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/1.0.0-alpha04/Google.Cloud.OsConfig.V1Alpha.OSPolicyComplianceState)

    [Obsolete]
    public enum OSPolicyComplianceState

Reference documentation and code samples for the Google Cloud OS Config v1alpha API enum OSPolicyComplianceState.

Supported OSPolicy compliance states.

## Namespace

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

## Assembly

Google.Cloud.OsConfig.V1Alpha.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Compliant` | Compliant state. |
| `NoOsPoliciesApplicable` | No applicable OS policies were found for the instance. This state is only applicable to the instance. |
| `NonCompliant` | Non-compliant state |
| `Unknown` | Unknown compliance state. |
| `Unspecified` | Default value. This value is unused. |