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. * 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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1MemoryInfo

Returns a new instance of GoogleChromeManagementV1MemoryInfo.



1559
1560
1561
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1559

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)


1540
1541
1542
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1540

def available_ram_bytes
  @available_ram_bytes
end

#total_memory_encryptionGoogle::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



1552
1553
1554
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1552

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)


1557
1558
1559
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1557

def total_ram_bytes
  @total_ram_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1564
1565
1566
1567
1568
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1564

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