# Game Services v1 API - Class UpdateGameServerDeploymentRequest (2.2.0)

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

- [2.2.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.UpdateGameServerDeploymentRequest)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.UpdateGameServerDeploymentRequest)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.UpdateGameServerDeploymentRequest)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.UpdateGameServerDeploymentRequest)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.UpdateGameServerDeploymentRequest)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.UpdateGameServerDeploymentRequest)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.UpdateGameServerDeploymentRequest)

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

Reference documentation and code samples for the Game Services v1 API class UpdateGameServerDeploymentRequest.

Request message for GameServerDeploymentsService.UpdateGameServerDeployment.
Only allows updates for labels.

## Inheritance

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

## Implements

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

## 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.Gaming.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1)

## Assembly

Google.Cloud.Gaming.V1.dll

## Constructors

### UpdateGameServerDeploymentRequest()

    public UpdateGameServerDeploymentRequest()

### UpdateGameServerDeploymentRequest(UpdateGameServerDeploymentRequest)

    public UpdateGameServerDeploymentRequest(UpdateGameServerDeploymentRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.UpdateGameServerDeploymentRequest` |

## Properties

### GameServerDeployment

    public GameServerDeployment GameServerDeployment { get; set; }

Required. The game server delpoyment to be updated.
Only fields specified in update_mask are updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerDeployment` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

Required. Mask of fields to update. At least one path must be supplied in
this field. For the `FieldMask` definition, see
<https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` |   |