Class: Google::Apis::RedisV1::ClusterMaintenanceSchedule
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1::ClusterMaintenanceSchedule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb
Overview
Upcoming maitenance schedule.
Instance Attribute Summary collapse
-
#end_time ⇒ String
Output only.
-
#start_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterMaintenanceSchedule
constructor
A new instance of ClusterMaintenanceSchedule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterMaintenanceSchedule
Returns a new instance of ClusterMaintenanceSchedule.
713 714 715 |
# File 'lib/google/apis/redis_v1/classes.rb', line 713 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Output only. The end time of any upcoming scheduled maintenance for this
instance.
Corresponds to the JSON property endTime
705 706 707 |
# File 'lib/google/apis/redis_v1/classes.rb', line 705 def end_time @end_time end |
#start_time ⇒ String
Output only. The start time of any upcoming scheduled maintenance for this
instance.
Corresponds to the JSON property startTime
711 712 713 |
# File 'lib/google/apis/redis_v1/classes.rb', line 711 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
718 719 720 721 |
# File 'lib/google/apis/redis_v1/classes.rb', line 718 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) end |