class Google::Apis::MemcacheV1beta2::DailyCycle
Time window specified for daily operations.
Attributes
duration[RW]
Output only. Duration of the time window, set by service producer. Corresponds to the JSON property `duration` @return [String]
start_time[RW]
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. Corresponds to the JSON property `startTime` @return [Google::Apis::MemcacheV1beta2::TimeOfDay]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/memcache_v1beta2/classes.rb, line 111 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/memcache_v1beta2/classes.rb, line 116 def update!(**args) @duration = args[:duration] if args.key?(:duration) @start_time = args[:start_time] if args.key?(:start_time) end