Class: Google::Apis::SqladminV1::SqlScheduledMaintenance
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SqladminV1::SqlScheduledMaintenance
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb 
Overview
Any scheduled maintenance for this instance.
Instance Attribute Summary collapse
- 
  
    
      #can_defer  ⇒ Boolean 
    
    
      (also: #can_defer?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
canDefer. - 
  
    
      #can_reschedule  ⇒ Boolean 
    
    
      (also: #can_reschedule?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If the scheduled maintenance can be rescheduled.
 - 
  
    
      #schedule_deadline_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Maintenance cannot be rescheduled to start beyond this deadline.
 - 
  
    
      #start_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The start time of any upcoming scheduled maintenance for this instance.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SqlScheduledMaintenance 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SqlScheduledMaintenance.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ SqlScheduledMaintenance
Returns a new instance of SqlScheduledMaintenance.
      4359 4360 4361  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 4359 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#can_defer ⇒ Boolean Also known as: can_defer?
Corresponds to the JSON property canDefer
      4340 4341 4342  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 4340 def can_defer @can_defer end  | 
  
#can_reschedule ⇒ Boolean Also known as: can_reschedule?
If the scheduled maintenance can be rescheduled.
Corresponds to the JSON property canReschedule
      4346 4347 4348  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 4346 def can_reschedule @can_reschedule end  | 
  
#schedule_deadline_time ⇒ String
Maintenance cannot be rescheduled to start beyond this deadline.
Corresponds to the JSON property scheduleDeadlineTime
      4352 4353 4354  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 4352 def schedule_deadline_time @schedule_deadline_time end  | 
  
#start_time ⇒ String
The start time of any upcoming scheduled maintenance for this instance.
Corresponds to the JSON property startTime
      4357 4358 4359  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 4357 def start_time @start_time end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4364 4365 4366 4367 4368 4369  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 4364 def update!(**args) @can_defer = args[:can_defer] if args.key?(:can_defer) @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule) @schedule_deadline_time = args[:schedule_deadline_time] if args.key?(:schedule_deadline_time) @start_time = args[:start_time] if args.key?(:start_time) end  |