# Google Cloud OsConfig V1 Client - Class State (2.2.3)

2.2.3 (latest) 2.2.2 2.1.0 2.0.5 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud OsConfig V1 Client class State.

Represents state of patch peployment.

Protobuf type `google.cloud.osconfig.v1.PatchDeployment.State`

## Namespace

Google \\ Cloud \\ OsConfig \\ V1 \\ PatchDeployment

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

The default value. This value is used if the state is omitted.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### ACTIVE

    Value: 1

Active value means that patch deployment generates Patch Jobs.

Generated from protobuf enum `ACTIVE = 1;`

### PAUSED

    Value: 2

Paused value means that patch deployment does not generate
Patch jobs. Requires user action to move in and out from this state.

Generated from protobuf enum `PAUSED = 2;`