# Google Cloud Gke Hub V1 Client - Class ConfigSyncDeploymentState (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 ConfigSyncDeploymentState.

The state of ConfigSync's deployment on a cluster

Generated from protobuf message `google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ importer` | `int` Deployment state of the importer pod |
| `↳ syncer` | `int` Deployment state of the syncer pod |
| `↳ git_sync` | `int` Deployment state of the git-sync pod |
| `↳ monitor` | `int` Deployment state of the monitor pod |
| `↳ reconciler_manager` | `int` Deployment state of reconciler-manager pod |
| `↳ root_reconciler` | `int` Deployment state of root-reconciler |
| `↳ admission_webhook` | `int` Deployment state of admission-webhook |

### getImporter

Deployment state of the importer pod

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

### setImporter

Deployment state of the importer pod

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSyncer

Deployment state of the syncer pod

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

### setSyncer

Deployment state of the syncer pod

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGitSync

Deployment state of the git-sync pod

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

### setGitSync

Deployment state of the git-sync pod

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMonitor

Deployment state of the monitor pod

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

### setMonitor

Deployment state of the monitor pod

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getReconcilerManager

Deployment state of reconciler-manager pod

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

### setReconcilerManager

Deployment state of reconciler-manager pod

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRootReconciler

Deployment state of root-reconciler

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

### setRootReconciler

Deployment state of root-reconciler

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAdmissionWebhook

Deployment state of admission-webhook

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

### setAdmissionWebhook

Deployment state of admission-webhook

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DeploymentState](https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.DeploymentState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |