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\u003eThe \u003ccode\u003eRecurringTimeWindow\u003c/code\u003e class represents a time window that repeats, supporting various recurrence patterns defined by RRULE strings.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eRecurringTimeWindow\u003c/code\u003e API is 3.33.0, with multiple prior versions available, ranging down to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRecurringTimeWindow\u003c/code\u003e is part of the \u003ccode\u003eGoogle.Cloud.Container.V1\u003c/code\u003e namespace, available in the \u003ccode\u003eGoogle.Cloud.Container.V1.dll\u003c/code\u003e assembly, and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties for \u003ccode\u003eRecurrence\u003c/code\u003e, which uses RRULE to define how the time window repeats (e.g., daily, weekly), and \u003ccode\u003eWindow\u003c/code\u003e, which sets the time frame for each recurrence.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecurringTimeWindow\u003c/code\u003e class also provides two constructors, one default and another to clone from another \u003ccode\u003eRecurringTimeWindow\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]