Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CpuInfo

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb

Overview

CPU specs for a CPU.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1CpuInfo

Returns a new instance of GoogleChromeManagementV1CpuInfo.



777
778
779
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 777

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#architectureString

Output only. The CPU architecture. Corresponds to the JSON property architecture

Returns:

  • (String)


764
765
766
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 764

def architecture
  @architecture
end

#max_clock_speedFixnum

Output only. The max CPU clock speed in kHz. Corresponds to the JSON property maxClockSpeed

Returns:

  • (Fixnum)


769
770
771
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 769

def max_clock_speed
  @max_clock_speed
end

#modelString

Output only. The CPU model name. Example: Intel(R) Core(TM) i5-8250U CPU @ 1. 60GHz Corresponds to the JSON property model

Returns:

  • (String)


775
776
777
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 775

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



782
783
784
785
786
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 782

def update!(**args)
  @architecture = args[:architecture] if args.key?(:architecture)
  @max_clock_speed = args[:max_clock_speed] if args.key?(:max_clock_speed)
  @model = args[:model] if args.key?(:model)
end