# Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::WeekDayOfMonth (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::WeekDayOfMonth.

`WeekDayOfMonth` defines the week day of the month on which the backups will
run. The message combines a `WeekOfMonth` and `DayOfWeek` to produce values
like `FIRST`/`MONDAY` or `LAST`/`FRIDAY`.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #day_of_week

    def day_of_week() -> ::Google::Type::DayOfWeek

**Returns**

- ([::Google::Type::DayOfWeek](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Type-DayOfWeek)) --- Required. Specifies the day of the week.

### #day_of_week=

    def day_of_week=(value) -> ::Google::Type::DayOfWeek

**Parameter**

- **value** ([::Google::Type::DayOfWeek](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Type-DayOfWeek)) --- Required. Specifies the day of the week.
**Returns**

- ([::Google::Type::DayOfWeek](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Type-DayOfWeek)) --- Required. Specifies the day of the week.

### #week_of_month

    def week_of_month() -> ::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth

**Returns**

- ([::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-WeekDayOfMonth-WeekOfMonth)) --- Required. Specifies the week of the month.

### #week_of_month=

    def week_of_month=(value) -> ::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth

**Parameter**

- **value** ([::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-WeekDayOfMonth-WeekOfMonth)) --- Required. Specifies the week of the month.
**Returns**

- ([::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-WeekDayOfMonth-WeekOfMonth)) --- Required. Specifies the week of the month.