# Infrastructure Manager V1 API - Module Google::Cloud::Config::V1::Deployment::LockState (v0.2.0)

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

- [0.2.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config-v1/latest/Google-Cloud-Config-V1-Deployment-LockState)
- [0.1.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config-v1/0.1.0/Google-Cloud-Config-V1-Deployment-LockState)
Reference documentation and code samples for the Infrastructure Manager V1 API module Google::Cloud::Config::V1::Deployment::LockState.

Possible lock states of a deployment.

## Constants

### LOCK_STATE_UNSPECIFIED

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

### LOCKED

**value:** 1  
The deployment is locked.

### UNLOCKED

**value:** 2  
The deployment is unlocked.

### LOCKING

**value:** 3  
The deployment is being locked.

### UNLOCKING

**value:** 4  
The deployment is being unlocked.

### LOCK_FAILED

**value:** 5  
The deployment has failed to lock.

### UNLOCK_FAILED

**value:** 6  
The deployment has failed to unlock.