Class: Google::Apis::SqladminV1beta4::Reschedule
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::Reschedule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb
Instance Attribute Summary collapse
-
#reschedule_type ⇒ String
Required.
-
#schedule_time ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Reschedule
constructor
A new instance of Reschedule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Reschedule
Returns a new instance of Reschedule.
3505 3506 3507 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3505 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reschedule_type ⇒ String
Required. The type of the reschedule.
Corresponds to the JSON property rescheduleType
3496 3497 3498 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3496 def reschedule_type @reschedule_type end |
#schedule_time ⇒ String
Optional. Timestamp when the maintenance shall be rescheduled to if
reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example 2012-11-15T16:19:00.094Z
.
Corresponds to the JSON property scheduleTime
3503 3504 3505 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3503 def schedule_time @schedule_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3510 3511 3512 3513 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3510 def update!(**args) @reschedule_type = args[:reschedule_type] if args.key?(:reschedule_type) @schedule_time = args[:schedule_time] if args.key?(:schedule_time) end |