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.
[[["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-09-04 UTC."],[],[],null,["# Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::WeekDayOfMonth (v1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-WeekDayOfMonth)\n- [1.1.0](/ruby/docs/reference/google-cloud-backupdr-v1/1.1.0/Google-Cloud-BackupDR-V1-WeekDayOfMonth)\n- [1.0.1](/ruby/docs/reference/google-cloud-backupdr-v1/1.0.1/Google-Cloud-BackupDR-V1-WeekDayOfMonth)\n- [0.5.0](/ruby/docs/reference/google-cloud-backupdr-v1/0.5.0/Google-Cloud-BackupDR-V1-WeekDayOfMonth)\n- [0.4.0](/ruby/docs/reference/google-cloud-backupdr-v1/0.4.0/Google-Cloud-BackupDR-V1-WeekDayOfMonth)\n- [0.3.0](/ruby/docs/reference/google-cloud-backupdr-v1/0.3.0/Google-Cloud-BackupDR-V1-WeekDayOfMonth)\n- [0.2.1](/ruby/docs/reference/google-cloud-backupdr-v1/0.2.1/Google-Cloud-BackupDR-V1-WeekDayOfMonth)\n- [0.1.0](/ruby/docs/reference/google-cloud-backupdr-v1/0.1.0/Google-Cloud-BackupDR-V1-WeekDayOfMonth) \nReference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::WeekDayOfMonth.\n\n`WeekDayOfMonth` defines the week day of the month on which the backups will\nrun. The message combines a `WeekOfMonth` and `DayOfWeek` to produce values\nlike `FIRST`/`MONDAY` or `LAST`/`FRIDAY`. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #day_of_week\n\n def day_of_week() -\u003e ::Google::Type::DayOfWeek\n\n**Returns**\n\n- ([::Google::Type::DayOfWeek](./Google-Type-DayOfWeek)) --- Required. Specifies the day of the week.\n\n### #day_of_week=\n\n def day_of_week=(value) -\u003e ::Google::Type::DayOfWeek\n\n**Parameter**\n\n- **value** ([::Google::Type::DayOfWeek](./Google-Type-DayOfWeek)) --- Required. Specifies the day of the week. \n**Returns**\n\n- ([::Google::Type::DayOfWeek](./Google-Type-DayOfWeek)) --- Required. Specifies the day of the week.\n\n### #week_of_month\n\n def week_of_month() -\u003e ::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth\n\n**Returns**\n\n- ([::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth](./Google-Cloud-BackupDR-V1-WeekDayOfMonth-WeekOfMonth)) --- Required. Specifies the week of the month.\n\n### #week_of_month=\n\n def week_of_month=(value) -\u003e ::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth\n\n**Parameter**\n\n- **value** ([::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth](./Google-Cloud-BackupDR-V1-WeekDayOfMonth-WeekOfMonth)) --- Required. Specifies the week of the month. \n**Returns**\n\n- ([::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth](./Google-Cloud-BackupDR-V1-WeekDayOfMonth-WeekOfMonth)) --- Required. Specifies the week of the month."]]