# GDC Hardware Management V1ALPHA API - Class Google::Cloud::GDCHardwareManagement::V1alpha::CreateHardwareGroupRequest (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::CreateHardwareGroupRequest.

A request to create a hardware group.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #hardware_group

    def hardware_group() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareGroup

**Returns**

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

### #hardware_group=

    def hardware_group=(value) -> ::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareGroup

**Parameter**

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

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

### #hardware_group_id

    def hardware_group_id() -> ::String

**Returns**

- (::String) --- Optional. ID used to uniquely identify the HardwareGroup within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and `-` are accepted. The `-` character cannot be the first or the last one. A system generated ID will be used if the field is not set.


  The hardware_group.name field in the request will be ignored.

### #hardware_group_id=

    def hardware_group_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. ID used to uniquely identify the HardwareGroup within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and `-` are accepted. The `-` character cannot be the first or the last one. A system generated ID will be used if the field is not set.


  The hardware_group.name field in the request will be ignored.
**Returns**

- (::String) --- Optional. ID used to uniquely identify the HardwareGroup within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and `-` are accepted. The `-` character cannot be the first or the last one. A system generated ID will be used if the field is not set.


  The hardware_group.name field in the request will be ignored.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The order to create the hardware group in. Format: `projects/{project}/locations/{location}/orders/{order}`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The order to create the hardware group in. Format: `projects/{project}/locations/{location}/orders/{order}`
**Returns**

- (::String) --- Required. The order to create the hardware group in. Format: `projects/{project}/locations/{location}/orders/{order}`

### #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).