# GDC Hardware Management V1ALPHA API - Class Google::Cloud::GDCHardwareManagement::V1alpha::UpdateHardwareRequest (v0.14.1)

0.14.1 (latest) 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the GDC Hardware Management V1ALPHA API class Google::Cloud::GDCHardwareManagement::V1alpha::UpdateHardwareRequest.

A request to update hardware.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #hardware

    def hardware() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware

**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-Hardware)) --- Required. The hardware to update.

### #hardware=

    def hardware=(value) -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware

**Parameter**

- **value** ([::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-Hardware)) --- Required. The hardware to update.
**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-Hardware)) --- Required. The hardware to update.

### #request_id

    def request_id() -> ::String

**Returns**

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

### #request_id=

    def request_id=(value) -> ::String

**Parameter**

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

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

### #update_mask

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

**Returns**

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

### #update_mask=

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

**Parameter**

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

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