Class: Google::Apis::SqladminV1::SqlInstancesRescheduleMaintenanceRequestBody
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1::SqlInstancesRescheduleMaintenanceRequestBody
- 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
-
#initialize(**args) ⇒ SqlInstancesRescheduleMaintenanceRequestBody
constructor
A new instance of SqlInstancesRescheduleMaintenanceRequestBody.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlInstancesRescheduleMaintenanceRequestBody
Returns a new instance of SqlInstancesRescheduleMaintenanceRequestBody.
3016 3017 3018 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3016 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reschedule ⇒ Google::Apis::SqladminV1::Reschedule
Required. The type of the reschedule the user wants.
Corresponds to the JSON property reschedule
3014 3015 3016 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3014 def reschedule @reschedule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3021 3022 3023 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3021 def update!(**args) @reschedule = args[:reschedule] if args.key?(:reschedule) end |