# Google Cloud Gke Backup V1 Client - Class DayOfWeekList (1.3.3)

1.3.3 (latest) 1.3.2 1.2.1 1.0.3 0.8.1 0.7.2 0.6.0 0.5.3 0.4.0 0.3.1 0.2.0 0.1.7 Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class DayOfWeekList.

Holds repeated DaysOfWeek values as a container.

Generated from protobuf message `google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekList`

## Namespace

Google \\ Cloud \\ GkeBackup \\ V1 \\ ExclusionWindow

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ days_of_week` | `int[]` Optional. A list of days of week. |

### getDaysOfWeek

Optional. A list of days of week.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### setDaysOfWeek

Optional. A list of days of week.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

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