GDC Hardware Management V1ALPHA API - Class Google::Cloud::GDCHardwareManagement::V1alpha::HardwareGroup (v0.1.1)

Reference documentation and code samples for the GDC Hardware Management V1ALPHA API class Google::Cloud::GDCHardwareManagement::V1alpha::HardwareGroup.

A group of hardware that is part of the same order, has the same SKU, and is delivered to the same site.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#config

def config() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareConfig
Returns

#config=

def config=(value) -> ::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareConfig
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#hardware_count

def hardware_count() -> ::Integer
Returns
  • (::Integer) — Required. Number of hardware in this HardwareGroup.

#hardware_count=

def hardware_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. Number of hardware in this HardwareGroup.
Returns
  • (::Integer) — Required. Number of hardware in this HardwareGroup.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels associated with this hardware group as key value pairs. For more information about labels, see Create and manage labels.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels associated with this hardware group as key value pairs. For more information about labels, see Create and manage labels.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels associated with this hardware group as key value pairs. For more information about labels, see Create and manage labels.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. Name of this hardware group. Format: projects/{project}/locations/{location}/orders/{order}/hardwareGroups/{hardware_group}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. Name of this hardware group. Format: projects/{project}/locations/{location}/orders/{order}/hardwareGroups/{hardware_group}
Returns
  • (::String) — Identifier. Name of this hardware group. Format: projects/{project}/locations/{location}/orders/{order}/hardwareGroups/{hardware_group}

#requested_installation_date

def requested_installation_date() -> ::Google::Type::Date
Returns
  • (::Google::Type::Date) — Optional. Requested installation date for the hardware in this HardwareGroup. Filled in by the customer.

#requested_installation_date=

def requested_installation_date=(value) -> ::Google::Type::Date
Parameter
  • value (::Google::Type::Date) — Optional. Requested installation date for the hardware in this HardwareGroup. Filled in by the customer.
Returns
  • (::Google::Type::Date) — Optional. Requested installation date for the hardware in this HardwareGroup. Filled in by the customer.

#site

def site() -> ::String
Returns
  • (::String) — Required. Name of the site where the hardware in this HardwareGroup will be delivered. Format: projects/{project}/locations/{location}/sites/{site}

#site=

def site=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the site where the hardware in this HardwareGroup will be delivered. Format: projects/{project}/locations/{location}/sites/{site}
Returns
  • (::String) — Required. Name of the site where the hardware in this HardwareGroup will be delivered. Format: projects/{project}/locations/{location}/sites/{site}

#state

def state() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareGroup::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#zone

def zone() -> ::String
Returns
  • (::String) — Optional. Name of the zone that the hardware in this HardwareGroup belongs to. Format: projects/{project}/locations/{location}/zones/{zone}

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — Optional. Name of the zone that the hardware in this HardwareGroup belongs to. Format: projects/{project}/locations/{location}/zones/{zone}
Returns
  • (::String) — Optional. Name of the zone that the hardware in this HardwareGroup belongs to. Format: projects/{project}/locations/{location}/zones/{zone}