Class: Google::Apis::SqlV1beta4::SqlInstancesRescheduleMaintenanceRequestBody

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

Overview

Reschedule options for maintenance windows.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SqlInstancesRescheduleMaintenanceRequestBody

Returns a new instance of SqlInstancesRescheduleMaintenanceRequestBody.



2433
2434
2435
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 2433

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

Instance Attribute Details

#rescheduleGoogle::Apis::SqlV1beta4::Reschedule

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



2431
2432
2433
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 2431

def reschedule
  @reschedule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2438
2439
2440
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 2438

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