# GKE Hub v1 API - Enum SyncState.Types.SyncCode (2.8.0)

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

- [2.8.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.SyncState.Types.SyncCode)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.7.0/Google.Cloud.GkeHub.V1.ConfigManagement.SyncState.Types.SyncCode)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.6.0/Google.Cloud.GkeHub.V1.ConfigManagement.SyncState.Types.SyncCode)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.5.0/Google.Cloud.GkeHub.V1.ConfigManagement.SyncState.Types.SyncCode)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.4.0/Google.Cloud.GkeHub.V1.ConfigManagement.SyncState.Types.SyncCode)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.3.0/Google.Cloud.GkeHub.V1.ConfigManagement.SyncState.Types.SyncCode)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.2.0/Google.Cloud.GkeHub.V1.ConfigManagement.SyncState.Types.SyncCode)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.1.0/Google.Cloud.GkeHub.V1.ConfigManagement.SyncState.Types.SyncCode)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.0.0/Google.Cloud.GkeHub.V1.ConfigManagement.SyncState.Types.SyncCode)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.2.0/Google.Cloud.GkeHub.V1.ConfigManagement.SyncState.Types.SyncCode)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.1.0/Google.Cloud.GkeHub.V1.ConfigManagement.SyncState.Types.SyncCode)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.0.0/Google.Cloud.GkeHub.V1.ConfigManagement.SyncState.Types.SyncCode)

    public enum SyncState.Types.SyncCode

Reference documentation and code samples for the GKE Hub v1 API enum SyncState.Types.SyncCode.

An enum representing Config Sync's status of syncing configs to a cluster.

## Namespace

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

## Assembly

Google.Cloud.GkeHub.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Error` | Indicates an error configuring Config Sync, and user action is required |
| `NotConfigured` | Config Sync has been installed but not configured |
| `NotInstalled` | Config Sync has not been installed |
| `Pending` | Config Sync is in the progress of syncing a new change |
| `Synced` | Config Sync successfully synced the git Repo with the cluster |
| `Unauthorized` | Error authorizing with the cluster |
| `Unreachable` | Cluster could not be reached |
| `Unspecified` | Config Sync cannot determine a sync code |