Class: Google::Apis::SqladminV1beta4::SqlInstancesRescheduleMaintenanceRequestBody

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

Overview

Reschedule options for maintenance windows.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlInstancesRescheduleMaintenanceRequestBody

Returns a new instance of SqlInstancesRescheduleMaintenanceRequestBody.



2613
2614
2615
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2613

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

Instance Attribute Details

#rescheduleGoogle::Apis::SqladminV1beta4::Reschedule

Required. The type of the reschedule the user wants. Corresponds to the JSON property reschedule



2611
2612
2613
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2611

def reschedule
  @reschedule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2618
2619
2620
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2618

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