Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1MemoryInfo
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1MemoryInfo
- 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
Memory information of a device. * This field has both telemetry and device
information: - totalRamBytes
- Device information - availableRamBytes
-
Telemetry information - totalMemoryEncryption
- Device information * Data
for this field is controlled via policy: ReportDeviceMemoryInfo * Data Collection
Frequency: - totalRamBytes
- Only at upload - availableRamBytes
- Every 10
minutes - totalMemoryEncryption
- at device startup * Default Data Reporting
Frequency: - totalRamBytes
- 3 hours - availableRamBytes
- 3 hours -
totalMemoryEncryption
- at device startup - 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: only for totalMemoryEncryption
*
Reported for affiliated users only: N/A * Granular permission needed:
TELEMETRY_API_MEMORY_INFO
Instance Attribute Summary collapse
-
#available_ram_bytes ⇒ Fixnum
Output only.
-
#total_memory_encryption ⇒ Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TotalMemoryEncryptionInfo
Memory encryption information of a device.
-
#total_ram_bytes ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1MemoryInfo
constructor
A new instance of GoogleChromeManagementV1MemoryInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1MemoryInfo
Returns a new instance of GoogleChromeManagementV1MemoryInfo.
2227 2228 2229 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2227 def initialize(**args) update!(**args) end |
Instance Attribute Details
#available_ram_bytes ⇒ Fixnum
Output only. Amount of available RAM in bytes.
Corresponds to the JSON property availableRamBytes
2208 2209 2210 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2208 def available_ram_bytes @available_ram_bytes end |
#total_memory_encryption ⇒ Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TotalMemoryEncryptionInfo
Memory encryption information of a device. * This field provides device
information, which is static and will not change over time. * Data for this
field is controlled via policy: ReportDeviceMemoryInfo * Data Collection
Frequency: At device startup * Default Data Reporting Frequency: At device
startup - 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: Yes * Reported for affiliated users only: N/A
Corresponds to the JSON property totalMemoryEncryption
2220 2221 2222 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2220 def total_memory_encryption @total_memory_encryption end |
#total_ram_bytes ⇒ Fixnum
Output only. Total RAM in bytes.
Corresponds to the JSON property totalRamBytes
2225 2226 2227 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2225 def total_ram_bytes @total_ram_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2232 2233 2234 2235 2236 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2232 def update!(**args) @available_ram_bytes = args[:available_ram_bytes] if args.key?(:available_ram_bytes) @total_memory_encryption = args[:total_memory_encryption] if args.key?(:total_memory_encryption) @total_ram_bytes = args[:total_ram_bytes] if args.key?(:total_ram_bytes) end |