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.


1076
1077
1078
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1076

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)

1069
1070
1071
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1069

def report_time
  @report_time
end

#system_ram_free_infoArray<Fixnum>

Corresponds to the JSON property systemRamFreeInfo

Returns:

  • (Array<Fixnum>)

1074
1075
1076
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1074

def system_ram_free_info
  @system_ram_free_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1081
1082
1083
1084
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1081

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