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.



705
706
707
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 705

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

Instance Attribute Details

#architectureString

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

Returns:

  • (String)


692
693
694
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 692

def architecture
  @architecture
end

#max_clock_speedFixnum

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

Returns:

  • (Fixnum)


697
698
699
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 697

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)


703
704
705
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 703

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



710
711
712
713
714
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 710

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