Class: Google::Apis::AndroidenterpriseV1::MaintenanceWindow
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidenterpriseV1::MaintenanceWindow
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidenterprise_v1/classes.rb,
 generated/google/apis/androidenterprise_v1/representations.rb,
 generated/google/apis/androidenterprise_v1/representations.rb
Overview
Maintenance window for managed Google Play Accounts. This allows Play store to update the apps on the foreground in the designated window.
Instance Attribute Summary collapse
- 
  
    
      #duration_ms  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Duration of the maintenance window, in milliseconds. 
- 
  
    
      #start_time_after_midnight_ms  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Start time of the maintenance window, in milliseconds after midnight on the device. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MaintenanceWindow 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of MaintenanceWindow. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MaintenanceWindow
Returns a new instance of MaintenanceWindow
| 1084 1085 1086 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1084 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#duration_ms ⇒ Fixnum
Duration of the maintenance window, in milliseconds. The duration must be
between 30 minutes and 24 hours (inclusive).
Corresponds to the JSON property durationMs
| 1076 1077 1078 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1076 def duration_ms @duration_ms end | 
#start_time_after_midnight_ms ⇒ Fixnum
Start time of the maintenance window, in milliseconds after midnight on the
device. Windows can span midnight.
Corresponds to the JSON property startTimeAfterMidnightMs
| 1082 1083 1084 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1082 def start_time_after_midnight_ms @start_time_after_midnight_ms end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1089 1090 1091 1092 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1089 def update!(**args) @duration_ms = args[:duration_ms] if args.key?(:duration_ms) @start_time_after_midnight_ms = args[:start_time_after_midnight_ms] if args.key?(:start_time_after_midnight_ms) end |