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.
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.
1403 1404 1405 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1403 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
1391 1392 1393 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1391 def available_ram_bytes @available_ram_bytes end |
#total_memory_encryption ⇒ Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TotalMemoryEncryptionInfo
Memory encryption information of a device.
Corresponds to the JSON property totalMemoryEncryption
1396 1397 1398 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1396 def total_memory_encryption @total_memory_encryption end |
#total_ram_bytes ⇒ Fixnum
Output only. Total RAM in bytes.
Corresponds to the JSON property totalRamBytes
1401 1402 1403 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1401 def total_ram_bytes @total_ram_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1408 1409 1410 1411 1412 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1408 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 |