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) — 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) — Required. Power supply type for this hardware.
Returns
- (::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. 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. 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. 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.