public sealed class RecurringTimeWindow : IMessage<RecurringTimeWindow>, IEquatable<RecurringTimeWindow>, IDeepCloneable<RecurringTimeWindow>, IBufferMessage, IMessage
Represents an arbitrary window of time that recurs.
For example, to have something repeat every weekday, you'd use:
FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
To repeat some window daily (equivalent to the DailyMaintenanceWindow):
FREQ=DAILY
For the first weekend of every month:
FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU
This specifies how frequently the window starts. Eg, if you wanted to have
a 9-5 UTC-4 window every weekday, you'd use something like:
start time = 2019-01-01T09:00:00-0400
end time = 2019-01-01T17:00:00-0400
recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
Windows can span multiple days. Eg, to make the window encompass every
weekend from midnight Saturday till the last minute of Sunday UTC:
start time = 2019-01-05T00:00:00Z
end time = 2019-01-07T23:59:00Z
recurrence = FREQ=WEEKLY;BYDAY=SA
Note the start and end time's specific dates are largely arbitrary except
to specify duration of the window and when it first starts.
The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eRecurringTimeWindow\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Container.V1\u003c/code\u003e namespace, used to define a recurring time window.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecurringTimeWindow\u003c/code\u003e class has two primary properties: \u003ccode\u003eRecurrence\u003c/code\u003e, which uses RRULE to define how the time window repeats, and \u003ccode\u003eWindow\u003c/code\u003e, specifying the initial time window.\u003c/p\u003e\n"],["\u003cp\u003eThere are numerous previous version references provided on the page, along with a link to the latest documentation for \u003ccode\u003eRecurringTimeWindow\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecurringTimeWindow\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage<RecurringTimeWindow>\u003c/code\u003e, \u003ccode\u003eIEquatable<RecurringTimeWindow>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<RecurringTimeWindow>\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e, showcasing its integration with protobuf and .NET functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a default constructor and one that accepts another \u003ccode\u003eRecurringTimeWindow\u003c/code\u003e object for copying.\u003c/p\u003e\n"]]],[],null,[]]