Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1MemoryInfo

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

Memory information of a device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1MemoryInfo

Returns a new instance of GoogleChromeManagementV1MemoryInfo.



1291
1292
1293
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1291

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

Instance Attribute Details

#available_ram_bytesFixnum

Output only. Amount of available RAM in bytes. Corresponds to the JSON property availableRamBytes

Returns:

  • (Fixnum)


1279
1280
1281
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1279

def available_ram_bytes
  @available_ram_bytes
end

#total_memory_encryptionGoogle::Apis::ChromemanagementV1::GoogleChromeManagementV1TotalMemoryEncryptionInfo

Memory encryption information of a device. Corresponds to the JSON property totalMemoryEncryption



1284
1285
1286
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1284

def total_memory_encryption
  @total_memory_encryption
end

#total_ram_bytesFixnum

Output only. Total RAM in bytes. Corresponds to the JSON property totalRamBytes

Returns:

  • (Fixnum)


1289
1290
1291
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1289

def total_ram_bytes
  @total_ram_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1296
1297
1298
1299
1300
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1296

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