# GDC Hardware Management v1alpha API - Class UpdateHardwareRequest (1.0.0-alpha08)

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

- [1.0.0-alpha08 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.UpdateHardwareRequest)
- [1.0.0-alpha07](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/1.0.0-alpha07/Google.Cloud.GdcHardwareManagement.V1Alpha.UpdateHardwareRequest)

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

Reference documentation and code samples for the GDC Hardware Management v1alpha API class UpdateHardwareRequest.

A request to update hardware.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateHardwareRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.UpdateHardwareRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateHardwareRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.UpdateHardwareRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateHardwareRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.UpdateHardwareRequest), [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.GdcHardwareManagement.V1Alpha](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha)

## Assembly

Google.Cloud.GdcHardwareManagement.V1Alpha.dll

## Constructors

### UpdateHardwareRequest()

    public UpdateHardwareRequest()

### UpdateHardwareRequest(UpdateHardwareRequest)

    public UpdateHardwareRequest(UpdateHardwareRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.UpdateHardwareRequest` |

## Properties

### Hardware

    public Hardware Hardware { get; set; }

Required. The hardware to update.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.Hardware` |   |

### RequestId

    public string RequestId { get; set; }

Optional. An optional unique identifier for this request. See
[AIP-155](https://google.aip.dev/155).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

Required. A mask to specify the fields in the Hardware to overwrite with
this update. The fields specified in the update_mask are relative to the
hardware, not the full request. A field will be overwritten if it is in the
mask. If you don't provide a mask then all fields will be overwritten.

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