# Google Cloud Container V1 Client - Class RecurringMaintenanceWindow (2.10.0)

2.10.0 (latest) 2.9.0 2.8.1 2.7.0 2.6.1 2.5.0 2.4.0 2.3.4 2.2.1 2.1.0 2.0.0 1.33.0 1.32.0 1.31.0 1.30.3 1.24.0 1.23.0 1.22.0 1.21.1 1.20.0 1.19.0 1.18.0 1.17.1 1.16.0 1.15.0 1.14.0 1.13.1 1.12.1 1.10.3 1.9.1 Reference documentation and code samples for the Google Cloud Container V1 Client class RecurringMaintenanceWindow.

Represents an arbitrary window of time that recurs.

Will replace RecurringTimeWindow.

Generated from protobuf message `google.container.v1.RecurringMaintenanceWindow`

## Namespace

Google \\ Cloud \\ Container \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ delay_until` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` Optional. Specifies the date before which will not be scheduled. Depending on the recurrence, this may be the date the first window appears. Days are measured in the UTC timezone. This setting must be used when INTERVAL\>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified. |
| `↳ window_start_time` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.TimeOfDay.html` Required. Start time of the window on days that it is scheduled, assuming UTC timezone. |
| `↳ window_duration` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` Required. Duration of the window. |
| `↳ recurrence` | `string` Required. An RRULE (<https://tools.ietf.org/html/rfc5545#section-3.8.5.3>) for how this window 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` The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported. |

### getDelayUntil

Optional. Specifies the date before which will not be scheduled.

Depending on the recurrence, this may be the date the first window appears.
Days are measured in the UTC timezone. This setting must be used when
INTERVAL\>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html|null` |   |

### hasDelayUntil

### clearDelayUntil

### setDelayUntil

Optional. Specifies the date before which will not be scheduled.

Depending on the recurrence, this may be the date the first window appears.
Days are measured in the UTC timezone. This setting must be used when
INTERVAL\>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getWindowStartTime

Required. Start time of the window on days that it is scheduled,
assuming UTC timezone.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.TimeOfDay.html|null` |   |

### hasWindowStartTime

### clearWindowStartTime

### setWindowStartTime

Required. Start time of the window on days that it is scheduled,
assuming UTC timezone.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.TimeOfDay.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getWindowDuration

Required. Duration of the window.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration|null` |   |

### hasWindowDuration

### clearWindowDuration

### setWindowDuration

Required. Duration of the window.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRecurrence

Required. An RRULE (<https://tools.ietf.org/html/rfc5545#section-3.8.5.3>)
for how this window 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`
The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setRecurrence

Required. An RRULE (<https://tools.ietf.org/html/rfc5545#section-3.8.5.3>)
for how this window 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`
The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |