# Cloud Gaming V1 API - Class Google::Cloud::Gaming::V1::UpdateGameServerDeploymentRequest (v0.7.0)

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

- [0.7.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-UpdateGameServerDeploymentRequest)
- [0.6.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.6.0/Google-Cloud-Gaming-V1-UpdateGameServerDeploymentRequest)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.5.0/Google-Cloud-Gaming-V1-UpdateGameServerDeploymentRequest)
- [0.4.4](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.4.4/Google-Cloud-Gaming-V1-UpdateGameServerDeploymentRequest)
Reference documentation and code samples for the Cloud Gaming V1 API class Google::Cloud::Gaming::V1::UpdateGameServerDeploymentRequest.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #game_server_deployment

    def game_server_deployment() -> ::Google::Cloud::Gaming::V1::GameServerDeployment

**Returns**

- ([::Google::Cloud::Gaming::V1::GameServerDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-GameServerDeployment)) --- Required. The game server delpoyment to be updated. Only fields specified in update_mask are updated.

### #game_server_deployment=

    def game_server_deployment=(value) -> ::Google::Cloud::Gaming::V1::GameServerDeployment

**Parameter**

- **value** ([::Google::Cloud::Gaming::V1::GameServerDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-GameServerDeployment)) --- Required. The game server delpoyment to be updated. Only fields specified in update_mask are updated.
**Returns**

- ([::Google::Cloud::Gaming::V1::GameServerDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-GameServerDeployment)) --- Required. The game server delpoyment to be updated. Only fields specified in update_mask are updated.

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Protobuf-FieldMask)) --- 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

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Protobuf-FieldMask)) --- 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
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Protobuf-FieldMask)) --- 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