Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CpuInfo
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CpuInfo
- 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
-
#architecture ⇒ String
Output only.
-
#max_clock_speed ⇒ Fixnum
Output only.
-
#model ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1CpuInfo
constructor
A new instance of GoogleChromeManagementV1CpuInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#architecture ⇒ String
Output only. The CPU architecture.
Corresponds to the JSON property architecture
764 765 766 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 764 def architecture @architecture end |
#max_clock_speed ⇒ Fixnum
Output only. The max CPU clock speed in kHz.
Corresponds to the JSON property maxClockSpeed
769 770 771 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 769 def max_clock_speed @max_clock_speed end |
#model ⇒ String
Output only. The CPU model name. Example: Intel(R) Core(TM) i5-8250U CPU @ 1.
60GHz
Corresponds to the JSON property model
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 |