class Google::Apis::RedisV1::MaintenanceSchedule
Upcoming maintenance schedule. If no maintenance is scheduled, fields are not populated.
Attributes
If the scheduled maintenance can be rescheduled, default is true. Corresponds to the JSON property `canReschedule` @return [Boolean]
If the scheduled maintenance can be rescheduled, default is true. Corresponds to the JSON property `canReschedule` @return [Boolean]
Output only. The end time of any upcoming scheduled maintenance for this instance. Corresponds to the JSON property `endTime` @return [String]
Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. Corresponds to the JSON property `scheduleDeadlineTime` @return [String]
Output only. The start time of any upcoming scheduled maintenance for this instance. Corresponds to the JSON property `startTime` @return [String]
Public Class Methods
# File lib/google/apis/redis_v1/classes.rb, line 676 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/redis_v1/classes.rb, line 681 def update!(**args) @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule) @end_time = args[:end_time] if args.key?(:end_time) @schedule_deadline_time = args[:schedule_deadline_time] if args.key?(:schedule_deadline_time) @start_time = args[:start_time] if args.key?(:start_time) end