Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1MemoryStatusReport

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

Contains samples of memory status reports.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1MemoryStatusReport

Returns a new instance of GoogleChromeManagementV1MemoryStatusReport.



1281
1282
1283
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1281

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

Instance Attribute Details

#page_faultsFixnum

Output only. Number of page faults during this collection Corresponds to the JSON property pageFaults

Returns:

  • (Fixnum)


1262
1263
1264
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1262

def page_faults
  @page_faults
end

#report_timeString

Output only. The timestamp in milliseconds representing time at which this report was sampled. Corresponds to the JSON property reportTime

Returns:

  • (String)


1268
1269
1270
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1268

def report_time
  @report_time
end

#sample_frequencyString

Output only. Frequency the report is sampled. Corresponds to the JSON property sampleFrequency

Returns:

  • (String)


1273
1274
1275
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1273

def sample_frequency
  @sample_frequency
end

#system_ram_free_bytesFixnum

Output only. Amount of free RAM in bytes (unreliable due to Garbage Collection) . Corresponds to the JSON property systemRamFreeBytes

Returns:

  • (Fixnum)


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

def system_ram_free_bytes
  @system_ram_free_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @page_faults = args[:page_faults] if args.key?(:page_faults)
  @report_time = args[:report_time] if args.key?(:report_time)
  @sample_frequency = args[:sample_frequency] if args.key?(:sample_frequency)
  @system_ram_free_bytes = args[:system_ram_free_bytes] if args.key?(:system_ram_free_bytes)
end