Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::Hardware.
Hardware specification details for a resource, including both physical and virtual hardware.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cpu_clock_speed
def cpu_clock_speed() -> ::Integer
Returns
- (::Integer) — Clock speed of the hardware CPU in MHz.
#cpu_clock_speed=
def cpu_clock_speed=(value) -> ::Integer
Parameter
- value (::Integer) — Clock speed of the hardware CPU in MHz.
Returns
- (::Integer) — Clock speed of the hardware CPU in MHz.
#cpu_max_clock_speed
def cpu_max_clock_speed() -> ::Integer
Returns
- (::Integer) — Maximum possible clock speed of the hardware CPU in MHz.
#cpu_max_clock_speed=
def cpu_max_clock_speed=(value) -> ::Integer
Parameter
- value (::Integer) — Maximum possible clock speed of the hardware CPU in MHz.
Returns
- (::Integer) — Maximum possible clock speed of the hardware CPU in MHz.
#cpu_model
def cpu_model() -> ::String
Returns
- (::String) — Model description of the hardware CPU (e.g. "2.8 GHz Quad-Core Intel Core i5").
#cpu_model=
def cpu_model=(value) -> ::String
Parameter
- value (::String) — Model description of the hardware CPU (e.g. "2.8 GHz Quad-Core Intel Core i5").
Returns
- (::String) — Model description of the hardware CPU (e.g. "2.8 GHz Quad-Core Intel Core i5").
#cpu_number_cores
def cpu_number_cores() -> ::Integer
Returns
- (::Integer) — Number of CPU cores.
#cpu_number_cores=
def cpu_number_cores=(value) -> ::Integer
Parameter
- value (::Integer) — Number of CPU cores.
Returns
- (::Integer) — Number of CPU cores.
#cpu_platform
def cpu_platform() -> ::String
Returns
- (::String) — Platform of the hardware CPU (e.g. "Intel Broadwell").
#cpu_platform=
def cpu_platform=(value) -> ::String
Parameter
- value (::String) — Platform of the hardware CPU (e.g. "Intel Broadwell").
Returns
- (::String) — Platform of the hardware CPU (e.g. "Intel Broadwell").
#manufacturer
def manufacturer() -> ::String
Returns
- (::String) — Hardware manufacturer.
#manufacturer=
def manufacturer=(value) -> ::String
Parameter
- value (::String) — Hardware manufacturer.
Returns
- (::String) — Hardware manufacturer.
#model
def model() -> ::String
Returns
- (::String) — Hardware model.
#model=
def model=(value) -> ::String
Parameter
- value (::String) — Hardware model.
Returns
- (::String) — Hardware model.
#ram
def ram() -> ::Integer
Returns
- (::Integer) — Amount of the hardware ramdom access memory (RAM) in Mb.
#ram=
def ram=(value) -> ::Integer
Parameter
- value (::Integer) — Amount of the hardware ramdom access memory (RAM) in Mb.
Returns
- (::Integer) — Amount of the hardware ramdom access memory (RAM) in Mb.
#serial_number
def serial_number() -> ::String
Returns
- (::String) — Hardware serial number.
#serial_number=
def serial_number=(value) -> ::String
Parameter
- value (::String) — Hardware serial number.
Returns
- (::String) — Hardware serial number.