1.13.0 (latest) 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class LockDeploymentRequest : IMessage<LockDeploymentRequest>, IEquatable<LockDeploymentRequest>, IDeepCloneable<LockDeploymentRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Infrastructure Manager v1 API class LockDeploymentRequest.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> LockDeploymentRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[LockDeploymentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockDeploymentRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LockDeploymentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockDeploymentRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[LockDeploymentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockDeploymentRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Config.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.md.txt)

## Assembly

Google.Cloud.Config.V1.dll

## Constructors

### LockDeploymentRequest()

    public LockDeploymentRequest()

### LockDeploymentRequest(LockDeploymentRequest)

    public LockDeploymentRequest(LockDeploymentRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `LockDeploymentRequest` |

## Properties

### DeploymentName

    public DeploymentName DeploymentName { get; set; }

[DeploymentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockDeploymentRequest.md.txt#Google_Cloud_Config_V1_LockDeploymentRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DeploymentName` |   |

### Name

    public string Name { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |