Required. Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to start_time.
↳ recurrence
string
Required. Maintenance window recurrence. Format is a subset of RFC-5545RRULE. The only allowed values for FREQ field are FREQ=DAILY and FREQ=WEEKLY;BYDAY=... Example values: FREQ=WEEKLY;BYDAY=TU,WE, FREQ=DAILY.
getStartTime
Required. Start time of the first recurrence of the maintenance window.
Required. Maintenance window end time. It is used only to calculate the
duration of the maintenance window. The value for end-time must be in the
future, relative to start_time.
Required. Maintenance window end time. It is used only to calculate the
duration of the maintenance window. The value for end-time must be in the
future, relative to start_time.
Required. Maintenance window recurrence. Format is a subset of
RFC-5545RRULE. The only allowed
values for FREQ field are FREQ=DAILY and FREQ=WEEKLY;BYDAY=...
Example values: FREQ=WEEKLY;BYDAY=TU,WE, FREQ=DAILY.
Returns
Type
Description
string
setRecurrence
Required. Maintenance window recurrence. Format is a subset of
RFC-5545RRULE. The only allowed
values for FREQ field are FREQ=DAILY and FREQ=WEEKLY;BYDAY=...
Example values: FREQ=WEEKLY;BYDAY=TU,WE, FREQ=DAILY.
[[["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 Orchestration Airflow V1 Client - Class MaintenanceWindow (2.1.8)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.8 (latest)](/php/docs/reference/cloud-orchestration-airflow/latest/V1.MaintenanceWindow)\n- [2.1.7](/php/docs/reference/cloud-orchestration-airflow/2.1.7/V1.MaintenanceWindow)\n- [2.0.1](/php/docs/reference/cloud-orchestration-airflow/2.0.1/V1.MaintenanceWindow)\n- [1.6.4](/php/docs/reference/cloud-orchestration-airflow/1.6.4/V1.MaintenanceWindow)\n- [1.5.0](/php/docs/reference/cloud-orchestration-airflow/1.5.0/V1.MaintenanceWindow)\n- [1.4.2](/php/docs/reference/cloud-orchestration-airflow/1.4.2/V1.MaintenanceWindow)\n- [1.3.0](/php/docs/reference/cloud-orchestration-airflow/1.3.0/V1.MaintenanceWindow)\n- [1.2.0](/php/docs/reference/cloud-orchestration-airflow/1.2.0/V1.MaintenanceWindow)\n- [1.1.0](/php/docs/reference/cloud-orchestration-airflow/1.1.0/V1.MaintenanceWindow)\n- [1.0.4](/php/docs/reference/cloud-orchestration-airflow/1.0.4/V1.MaintenanceWindow) \nReference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class MaintenanceWindow.\n\nThe configuration settings for Cloud Composer maintenance window.\n\nThe following example: \n\n {\n \"startTime\":\"2019-08-01T01:00:00Z\"\n \"endTime\":\"2019-08-01T07:00:00Z\"\n \"recurrence\":\"FREQ=WEEKLY;BYDAY=TU,WE\"\n }\n\nwould define a maintenance window between 01 and 07 hours UTC during\neach Tuesday and Wednesday.\n\nGenerated from protobuf message `google.cloud.orchestration.airflow.service.v1.MaintenanceWindow`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Orchestration \\\\ Airflow \\\\ Service \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStartTime\n\nRequired. Start time of the first recurrence of the maintenance window.\n\n### hasStartTime\n\n### clearStartTime\n\n### setStartTime\n\nRequired. Start time of the first recurrence of the maintenance window.\n\n### getEndTime\n\nRequired. Maintenance window end time. It is used only to calculate the\nduration of the maintenance window. The value for end-time must be in the\nfuture, relative to `start_time`.\n\n### hasEndTime\n\n### clearEndTime\n\n### setEndTime\n\nRequired. Maintenance window end time. It is used only to calculate the\nduration of the maintenance window. The value for end-time must be in the\nfuture, relative to `start_time`.\n\n### getRecurrence\n\nRequired. Maintenance window recurrence. Format is a subset of\n[RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed\nvalues for `FREQ` field are `FREQ=DAILY` and `FREQ=WEEKLY;BYDAY=...`\nExample values: `FREQ=WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`.\n\n### setRecurrence\n\nRequired. Maintenance window recurrence. Format is a subset of\n[RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed\nvalues for `FREQ` field are `FREQ=DAILY` and `FREQ=WEEKLY;BYDAY=...`\nExample values: `FREQ=WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`."]]