class Google::Apis::RedisV1::MaintenanceSchedule

Upcoming maintenance schedule. If no maintenance is scheduled, fields are not populated.

Attributes

can_reschedule[RW]

If the scheduled maintenance can be rescheduled, default is true. Corresponds to the JSON property `canReschedule` @return [Boolean]

can_reschedule?[RW]

If the scheduled maintenance can be rescheduled, default is true. Corresponds to the JSON property `canReschedule` @return [Boolean]

end_time[RW]

Output only. The end time of any upcoming scheduled maintenance for this instance. Corresponds to the JSON property `endTime` @return [String]

schedule_deadline_time[RW]

Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. Corresponds to the JSON property `scheduleDeadlineTime` @return [String]

start_time[RW]

Output only. The start time of any upcoming scheduled maintenance for this instance. Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/redis_v1/classes.rb, line 676
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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