Reference documentation and code samples for the GDC Hardware Management V1ALPHA API class Google::Cloud::GDCHardwareManagement::V1alpha::HardwareLocation.
Represents the location of one or many hardware.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#rack_location
def rack_location() -> ::String
Returns
- (::String) — Required. Location of the rack in the site e.g. Floor 2, Room 201, Row 7, Rack 3.
#rack_location=
def rack_location=(value) -> ::String
Parameter
- value (::String) — Required. Location of the rack in the site e.g. Floor 2, Room 201, Row 7, Rack 3.
Returns
- (::String) — Required. Location of the rack in the site e.g. Floor 2, Room 201, Row 7, Rack 3.
#rack_space
def rack_space() -> ::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::RackSpace>
Returns
- (::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::RackSpace>) — Optional. Spaces occupied by the hardware in the rack. If unset, this location is assumed to be the entire rack.
#rack_space=
def rack_space=(value) -> ::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::RackSpace>
Parameter
- value (::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::RackSpace>) — Optional. Spaces occupied by the hardware in the rack. If unset, this location is assumed to be the entire rack.
Returns
- (::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::RackSpace>) — Optional. Spaces occupied by the hardware in the rack. If unset, this location is assumed to be the entire rack.
#site
def site() -> ::String
Returns
-
(::String) — Required. Name of the site where the hardware are present.
Format:
projects/{project}/locations/{location}/sites/{site}
#site=
def site=(value) -> ::String
Parameter
-
value (::String) — Required. Name of the site where the hardware are present.
Format:
projects/{project}/locations/{location}/sites/{site}
Returns
-
(::String) — Required. Name of the site where the hardware are present.
Format:
projects/{project}/locations/{location}/sites/{site}