Class: Google::Apis::SqladminV1::SqlInstancesRescheduleMaintenanceRequestBody

Inherits:
Object
  • Object
show all
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

Reschedule options for maintenance windows.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlInstancesRescheduleMaintenanceRequestBody

Returns a new instance of SqlInstancesRescheduleMaintenanceRequestBody.



2959
2960
2961
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2959

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

Instance Attribute Details

#rescheduleGoogle::Apis::SqladminV1::Reschedule

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



2957
2958
2959
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2957

def reschedule
  @reschedule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2964
2965
2966
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2964

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