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.



790
791
792
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 790

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

#keylocker_configuredBoolean Also known as: keylocker_configured?

Output only. Whether keylocker is configured.TRUE = Enabled; FALSE = disabled. Only reported if keylockerSupported = TRUE. Corresponds to the JSON property keylockerConfigured

Returns:

  • (Boolean)


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

def keylocker_configured
  @keylocker_configured
end

#keylocker_supportedBoolean Also known as: keylocker_supported?

Output only. Whether keylocker is supported. Corresponds to the JSON property keylockerSupported

Returns:

  • (Boolean)


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

def keylocker_supported
  @keylocker_supported
end

#max_clock_speedFixnum

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

Returns:

  • (Fixnum)


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

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)


788
789
790
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 788

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



795
796
797
798
799
800
801
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 795

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