Class: Google::Apis::MemcacheV1beta2::MaintenanceSchedule

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

Overview

Upcoming maintenance schedule.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MaintenanceSchedule

Returns a new instance of MaintenanceSchedule.



1243
1244
1245
# File 'lib/google/apis/memcache_v1beta2/classes.rb', line 1243

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

Instance Attribute Details

#end_timeString

Output only. The end time of any upcoming scheduled maintenance for this instance. Corresponds to the JSON property endTime

Returns:

  • (String)


1229
1230
1231
# File 'lib/google/apis/memcache_v1beta2/classes.rb', line 1229

def end_time
  @end_time
end

#schedule_deadline_timeString

Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. Corresponds to the JSON property scheduleDeadlineTime

Returns:

  • (String)


1235
1236
1237
# File 'lib/google/apis/memcache_v1beta2/classes.rb', line 1235

def schedule_deadline_time
  @schedule_deadline_time
end

#start_timeString

Output only. The start time of any upcoming scheduled maintenance for this instance. Corresponds to the JSON property startTime

Returns:

  • (String)


1241
1242
1243
# File 'lib/google/apis/memcache_v1beta2/classes.rb', line 1241

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1248
1249
1250
1251
1252
# File 'lib/google/apis/memcache_v1beta2/classes.rb', line 1248

def update!(**args)
  @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