Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::SystemRamFreeReport

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SystemRamFreeReport

Returns a new instance of SystemRamFreeReport



1007
1008
1009
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1007

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

Instance Attribute Details

#report_timeDateTime

Date and time the report was received. Corresponds to the JSON property reportTime

Returns:

  • (DateTime)


1000
1001
1002
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1000

def report_time
  @report_time
end

#system_ram_free_infoArray<Fixnum>

Corresponds to the JSON property systemRamFreeInfo

Returns:

  • (Array<Fixnum>)


1005
1006
1007
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1005

def system_ram_free_info
  @system_ram_free_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1012
1013
1014
1015
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1012

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