Class: Google::Apis::AndroidmanagementV1::MemoryInfo

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

Overview

Information about device memory and storage.

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) ⇒ MemoryInfo

Returns a new instance of MemoryInfo.



1806
1807
1808
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1806

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

Instance Attribute Details

#total_internal_storageFixnum

Total internal storage on device in bytes. Corresponds to the JSON property totalInternalStorage

Returns:

  • (Fixnum)


1799
1800
1801
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1799

def total_internal_storage
  @total_internal_storage
end

#total_ramFixnum

Total RAM on device in bytes. Corresponds to the JSON property totalRam

Returns:

  • (Fixnum)


1804
1805
1806
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1804

def total_ram
  @total_ram
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1811
1812
1813
1814
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1811

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