class Google::Apis::ContainerV1::TimeWindow
Represents an arbitrary window of time.
Attributes
end_time[RW]
The time that the window ends. The end time should take place after the start time. Corresponds to the JSON property `endTime` @return [String]
start_time[RW]
The time that the window first starts. Corresponds to the JSON property `startTime` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/container_v1/classes.rb, line 4520 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/container_v1/classes.rb, line 4525 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) end