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

Configuration for GDC hardware.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #power_supply

    def power_supply() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::PowerSupply

**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::PowerSupply](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-PowerSupply)) --- Required. Power supply type for this hardware.

### #power_supply=

    def power_supply=(value) -> ::Google::Cloud::GDCHardwareManagement::V1alpha::PowerSupply

**Parameter**

- **value** ([::Google::Cloud::GDCHardwareManagement::V1alpha::PowerSupply](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-PowerSupply)) --- Required. Power supply type for this hardware.
**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::PowerSupply](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-PowerSupply)) --- Required. Power supply type for this hardware.

### #sku

    def sku() -> ::String

**Returns**

- (::String) --- Required. Reference to the SKU for this hardware. This can point to a specific SKU revision in the form of `resource_name@revision_id` as defined in [AIP-162](https://google.aip.dev/162). If no revision_id is specified, it refers to the latest revision.

### #sku=

    def sku=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Reference to the SKU for this hardware. This can point to a specific SKU revision in the form of `resource_name@revision_id` as defined in [AIP-162](https://google.aip.dev/162). If no revision_id is specified, it refers to the latest revision.
**Returns**

- (::String) --- Required. Reference to the SKU for this hardware. This can point to a specific SKU revision in the form of `resource_name@revision_id` as defined in [AIP-162](https://google.aip.dev/162). If no revision_id is specified, it refers to the latest revision.

### #subscription_duration_months

    def subscription_duration_months() -> ::Integer

**Returns**

- (::Integer) --- Optional. Subscription duration for the hardware in months.

### #subscription_duration_months=

    def subscription_duration_months=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. Subscription duration for the hardware in months.
**Returns**

- (::Integer) --- Optional. Subscription duration for the hardware in months.