Class: Google::Apis::AndroidmanagementV1::MemoryInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidmanagementV1::MemoryInfo
 
- 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
- 
  
    
      #total_internal_storage  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Total internal storage on device in bytes. 
- 
  
    
      #total_ram  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Total RAM on device in bytes. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MemoryInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of MemoryInfo. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MemoryInfo
Returns a new instance of MemoryInfo
| 1208 1209 1210 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1208 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#total_internal_storage ⇒ Fixnum
Total internal storage on device in bytes.
Corresponds to the JSON property totalInternalStorage
| 1201 1202 1203 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1201 def total_internal_storage @total_internal_storage end | 
#total_ram ⇒ Fixnum
Total RAM on device in bytes.
Corresponds to the JSON property totalRam
| 1206 1207 1208 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1206 def total_ram @total_ram end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1213 1214 1215 1216 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1213 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 |