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 specifications for the device * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: ReportDeviceCpuInfo * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_CPU_INFO

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1CpuInfo

Returns a new instance of GoogleChromeManagementV1CpuInfo.



1224
1225
1226
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1224

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

Instance Attribute Details

#architectureString

Output only. Architecture type for the CPU. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: ReportDeviceCpuInfo * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A Corresponds to the JSON property architecture

Returns:

  • (String)


1198
1199
1200
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1198

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)


1204
1205
1206
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1204

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)


1210
1211
1212
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1210

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)


1216
1217
1218
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1216

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)


1222
1223
1224
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1222

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1229
1230
1231
1232
1233
1234
1235
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1229

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