Class: Google::Apis::AndroidmanagementV1::MemoryEvent
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidmanagementV1::MemoryEvent
 
- 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
An event related to memory and storage measurements.
Instance Attribute Summary collapse
- 
  
    
      #byte_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium. 
- 
  
    
      #create_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The creation time of the event. 
- 
  
    
      #event_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Event type. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MemoryEvent 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of MemoryEvent. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MemoryEvent
Returns a new instance of MemoryEvent
| 1182 1183 1184 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1182 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#byte_count ⇒ Fixnum
The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the
total capacity in bytes of the storage medium.
Corresponds to the JSON property byteCount
| 1170 1171 1172 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1170 def byte_count @byte_count end | 
#create_time ⇒ String
The creation time of the event.
Corresponds to the JSON property createTime
| 1175 1176 1177 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1175 def create_time @create_time end | 
#event_type ⇒ String
Event type.
Corresponds to the JSON property eventType
| 1180 1181 1182 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1180 def event_type @event_type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1187 1188 1189 1190 1191 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1187 def update!(**args) @byte_count = args[:byte_count] if args.key?(:byte_count) @create_time = args[:create_time] if args.key?(:create_time) @event_type = args[:event_type] if args.key?(:event_type) end |