Reference documentation and code samples for the GDC Hardware Management V1ALPHA API class Google::Cloud::GDCHardwareManagement::V1alpha::Hardware.
An instance of hardware installed at a site.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#actual_installation_date
def actual_installation_date() -> ::Google::Type::Date
Returns
- (::Google::Type::Date) — Output only. Actual installation date for this hardware. Filled in by Google.
#ciq_uri
def ciq_uri() -> ::String
Returns
- (::String) — Output only. Link to the Customer Intake Questionnaire (CIQ) sheet for this Hardware.
#config
def config() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareConfig
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareConfig) — Required. Configuration for this hardware.
#config=
def config=(value) -> ::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareConfig
Parameter
- value (::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareConfig) — Required. Configuration for this hardware.
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareConfig) — Required. Configuration for this hardware.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when this hardware was created.
#display_name
def display_name() -> ::String
Returns
- (::String) — Optional. Display name for this hardware.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Optional. Display name for this hardware.
Returns
- (::String) — Optional. Display name for this hardware.
#estimated_installation_date
def estimated_installation_date() -> ::Google::Type::Date
Returns
- (::Google::Type::Date) — Output only. Estimated installation date for this hardware.
#hardware_group
def hardware_group() -> ::String
Returns
-
(::String) — Output only. Name for the hardware group that this hardware belongs to.
Format:
projects/{project}/locations/{location}/orders/{order}/hardwareGroups/{hardware_group}
#installation_info
def installation_info() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareInstallationInfo
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareInstallationInfo) — Optional. Information for installation of this hardware.
#installation_info=
def installation_info=(value) -> ::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareInstallationInfo
Parameter
- value (::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareInstallationInfo) — Optional. Information for installation of this hardware.
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareInstallationInfo) — Optional. Information for installation of this hardware.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels associated with this hardware 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 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 as key value pairs. For more information about labels, see Create and manage labels.
#machine_infos
def machine_infos() -> ::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware::MachineInfo>
Returns
- (::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware::MachineInfo>) — Output only. Per machine asset information needed for turnup.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. Name of this hardware.
Format:
projects/{project}/locations/{location}/hardware/{hardware}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. Name of this hardware.
Format:
projects/{project}/locations/{location}/hardware/{hardware}
Returns
-
(::String) — Identifier. Name of this hardware.
Format:
projects/{project}/locations/{location}/hardware/{hardware}
#order
def order() -> ::String
Returns
-
(::String) — Required. Name of the order that this hardware belongs to.
Format:
projects/{project}/locations/{location}/orders/{order}
#order=
def order=(value) -> ::String
Parameter
-
value (::String) — Required. Name of the order that this hardware belongs to.
Format:
projects/{project}/locations/{location}/orders/{order}
Returns
-
(::String) — Required. Name of the order that this hardware belongs to.
Format:
projects/{project}/locations/{location}/orders/{order}
#physical_info
def physical_info() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::HardwarePhysicalInfo
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::HardwarePhysicalInfo) — Optional. Physical properties of this hardware.
#physical_info=
def physical_info=(value) -> ::Google::Cloud::GDCHardwareManagement::V1alpha::HardwarePhysicalInfo
Parameter
- value (::Google::Cloud::GDCHardwareManagement::V1alpha::HardwarePhysicalInfo) — Optional. Physical properties of this hardware.
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::HardwarePhysicalInfo) — Optional. Physical properties of this hardware.
#requested_installation_date
def requested_installation_date() -> ::Google::Type::Date
Returns
- (::Google::Type::Date) — Optional. Requested installation date for this hardware. If not specified, this is auto-populated from the order's fulfillment_time upon submission or from the HardwareGroup's requested_installation_date upon order acceptance.
#requested_installation_date=
def requested_installation_date=(value) -> ::Google::Type::Date
Parameter
- value (::Google::Type::Date) — Optional. Requested installation date for this hardware. If not specified, this is auto-populated from the order's fulfillment_time upon submission or from the HardwareGroup's requested_installation_date upon order acceptance.
Returns
- (::Google::Type::Date) — Optional. Requested installation date for this hardware. If not specified, this is auto-populated from the order's fulfillment_time upon submission or from the HardwareGroup's requested_installation_date upon order acceptance.
#site
def site() -> ::String
Returns
-
(::String) — Required. Name for the site that this hardware belongs to.
Format:
projects/{project}/locations/{location}/sites/{site}
#site=
def site=(value) -> ::String
Parameter
-
value (::String) — Required. Name for the site that this hardware belongs to.
Format:
projects/{project}/locations/{location}/sites/{site}
Returns
-
(::String) — Required. Name for the site that this hardware belongs to.
Format:
projects/{project}/locations/{location}/sites/{site}
#state
def state() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware::State
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware::State) — Output only. Current state for this hardware.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when this hardware was last updated.
#zone
def zone() -> ::String
Returns
-
(::String) — Required. Name for the zone that this hardware belongs to.
Format:
projects/{project}/locations/{location}/zones/{zone}
#zone=
def zone=(value) -> ::String
Parameter
-
value (::String) — Required. Name for the zone that this hardware belongs to.
Format:
projects/{project}/locations/{location}/zones/{zone}
Returns
-
(::String) — Required. Name for the zone that this hardware belongs to.
Format:
projects/{project}/locations/{location}/zones/{zone}