An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. 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.
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.
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Container V1 Client - Class RecurringTimeWindow (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/php/docs/reference/cloud-container/latest/V1.RecurringTimeWindow)\n- [2.4.0](/php/docs/reference/cloud-container/2.4.0/V1.RecurringTimeWindow)\n- [2.3.4](/php/docs/reference/cloud-container/2.3.4/V1.RecurringTimeWindow)\n- [2.2.1](/php/docs/reference/cloud-container/2.2.1/V1.RecurringTimeWindow)\n- [2.1.0](/php/docs/reference/cloud-container/2.1.0/V1.RecurringTimeWindow)\n- [2.0.0](/php/docs/reference/cloud-container/2.0.0/V1.RecurringTimeWindow)\n- [1.33.0](/php/docs/reference/cloud-container/1.33.0/V1.RecurringTimeWindow)\n- [1.32.0](/php/docs/reference/cloud-container/1.32.0/V1.RecurringTimeWindow)\n- [1.31.0](/php/docs/reference/cloud-container/1.31.0/V1.RecurringTimeWindow)\n- [1.30.3](/php/docs/reference/cloud-container/1.30.3/V1.RecurringTimeWindow)\n- [1.24.0](/php/docs/reference/cloud-container/1.24.0/V1.RecurringTimeWindow)\n- [1.23.0](/php/docs/reference/cloud-container/1.23.0/V1.RecurringTimeWindow)\n- [1.22.0](/php/docs/reference/cloud-container/1.22.0/V1.RecurringTimeWindow)\n- [1.21.1](/php/docs/reference/cloud-container/1.21.1/V1.RecurringTimeWindow)\n- [1.20.0](/php/docs/reference/cloud-container/1.20.0/V1.RecurringTimeWindow)\n- [1.19.0](/php/docs/reference/cloud-container/1.19.0/V1.RecurringTimeWindow)\n- [1.18.0](/php/docs/reference/cloud-container/1.18.0/V1.RecurringTimeWindow)\n- [1.17.1](/php/docs/reference/cloud-container/1.17.1/V1.RecurringTimeWindow)\n- [1.16.0](/php/docs/reference/cloud-container/1.16.0/V1.RecurringTimeWindow)\n- [1.15.0](/php/docs/reference/cloud-container/1.15.0/V1.RecurringTimeWindow)\n- [1.14.0](/php/docs/reference/cloud-container/1.14.0/V1.RecurringTimeWindow)\n- [1.13.1](/php/docs/reference/cloud-container/1.13.1/V1.RecurringTimeWindow)\n- [1.12.1](/php/docs/reference/cloud-container/1.12.1/V1.RecurringTimeWindow)\n- [1.10.3](/php/docs/reference/cloud-container/1.10.3/V1.RecurringTimeWindow)\n- [1.9.1](/php/docs/reference/cloud-container/1.9.1/V1.RecurringTimeWindow) \nReference documentation and code samples for the Google Cloud Container V1 Client class RecurringTimeWindow.\n\nRepresents an arbitrary window of time that recurs.\n\nGenerated from protobuf message `google.container.v1.RecurringTimeWindow`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Container \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getWindow\n\nThe window of the first recurrence.\n\n### hasWindow\n\n### clearWindow\n\n### setWindow\n\nThe window of the first recurrence.\n\n### getRecurrence\n\nAn RRULE (\u003chttps://tools.ietf.org/html/rfc5545#section-3.8.5.3\u003e) for how\nthis window reccurs. They go on for the span of time between the start and\nend time.\n\nFor example, to have something repeat every weekday, you'd use:\n`FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR`\nTo repeat some window daily (equivalent to the DailyMaintenanceWindow):\n`FREQ=DAILY`\nFor the first weekend of every month:\n`FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU`\nThis specifies how frequently the window starts. Eg, if you wanted to have\na 9-5 UTC-4 window every weekday, you'd use something like: \n\n start time = 2019-01-01T09:00:00-0400\n end time = 2019-01-01T17:00:00-0400\n recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR\n\nWindows can span multiple days. Eg, to make the window encompass every\nweekend from midnight Saturday till the last minute of Sunday UTC: \n\n start time = 2019-01-05T00:00:00Z\n end time = 2019-01-07T23:59:00Z\n recurrence = FREQ=WEEKLY;BYDAY=SA\n\nNote the start and end time's specific dates are largely arbitrary except\nto specify duration of the window and when it first starts.\nThe FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.\n\n### setRecurrence\n\nAn RRULE (\u003chttps://tools.ietf.org/html/rfc5545#section-3.8.5.3\u003e) for how\nthis window reccurs. They go on for the span of time between the start and\nend time.\n\nFor example, to have something repeat every weekday, you'd use:\n`FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR`\nTo repeat some window daily (equivalent to the DailyMaintenanceWindow):\n`FREQ=DAILY`\nFor the first weekend of every month:\n`FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU`\nThis specifies how frequently the window starts. Eg, if you wanted to have\na 9-5 UTC-4 window every weekday, you'd use something like: \n\n start time = 2019-01-01T09:00:00-0400\n end time = 2019-01-01T17:00:00-0400\n recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR\n\nWindows can span multiple days. Eg, to make the window encompass every\nweekend from midnight Saturday till the last minute of Sunday UTC: \n\n start time = 2019-01-05T00:00:00Z\n end time = 2019-01-07T23:59:00Z\n recurrence = FREQ=WEEKLY;BYDAY=SA\n\nNote the start and end time's specific dates are largely arbitrary except\nto specify duration of the window and when it first starts.\nThe FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported."]]