# Infrastructure Manager V1 API - Class Google::Cloud::Config::V1::LockDeploymentRequest (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-LockDeploymentRequest)
- [0.1.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config-v1/0.1.0/Google-Cloud-Config-V1-LockDeploymentRequest)
Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::Config::V1::LockDeploymentRequest.

A request to lock a deployment passed to a 'LockDeployment' call.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
**Returns**

- (::String) --- Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.