# Google Cloud Config V1 Client - Class LockState (1.8.0)

1.8.0 (latest) 1.7.2 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.5.2 0.2.0 0.1.3 Reference documentation and code samples for the Google Cloud Config V1 Client class LockState.

Possible lock states of a deployment.

Protobuf type `google.cloud.config.v1.Deployment.LockState`

## Namespace

Google \\ Cloud \\ Config \\ V1 \\ Deployment

## Methods

### static::name

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

### static::value

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

## Constants

### LOCK_STATE_UNSPECIFIED

    Value: 0

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

Generated from protobuf enum `LOCK_STATE_UNSPECIFIED = 0;`

### LOCKED

    Value: 1

The deployment is locked.

Generated from protobuf enum `LOCKED = 1;`

### UNLOCKED

    Value: 2

The deployment is unlocked.

Generated from protobuf enum `UNLOCKED = 2;`

### LOCKING

    Value: 3

The deployment is being locked.

Generated from protobuf enum `LOCKING = 3;`

### UNLOCKING

    Value: 4

The deployment is being unlocked.

Generated from protobuf enum `UNLOCKING = 4;`

### LOCK_FAILED

    Value: 5

The deployment has failed to lock.

Generated from protobuf enum `LOCK_FAILED = 5;`

### UNLOCK_FAILED

    Value: 6

The deployment has failed to unlock.

Generated from protobuf enum `UNLOCK_FAILED = 6;`