# Google Cloud Gke Hub V1 Client - Class SyncCode (1.3.1)

1.3.1 (latest) 1.3.0 1.2.2 1.1.0 1.0.6 0.10.0 0.9.5 0.8.2 0.7.1 0.6.3 0.5.6 Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class SyncCode.

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

Protobuf type `google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode`

## Namespace

Google \\ Cloud \\ GkeHub \\ ConfigManagement \\ V1 \\ SyncState

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### SYNC_CODE_UNSPECIFIED

    Value: 0

Config Sync cannot determine a sync code

Generated from protobuf enum `SYNC_CODE_UNSPECIFIED = 0;`

### SYNCED

    Value: 1

Config Sync successfully synced the git Repo with the cluster

Generated from protobuf enum `SYNCED = 1;`

### PENDING

    Value: 2

Config Sync is in the progress of syncing a new change

Generated from protobuf enum `PENDING = 2;`

### ERROR

    Value: 3

Indicates an error configuring Config Sync, and user action is required

Generated from protobuf enum `ERROR = 3;`

### NOT_CONFIGURED

    Value: 4

Config Sync has been installed but not configured

Generated from protobuf enum `NOT_CONFIGURED = 4;`

### NOT_INSTALLED

    Value: 5

Config Sync has not been installed

Generated from protobuf enum `NOT_INSTALLED = 5;`

### UNAUTHORIZED

    Value: 6

Error authorizing with the cluster

Generated from protobuf enum `UNAUTHORIZED = 6;`

### UNREACHABLE

    Value: 7

Cluster could not be reached

Generated from protobuf enum `UNREACHABLE = 7;`