public sealed class WeekDayOfMonth : IMessage<WeekDayOfMonth>, IEquatable<WeekDayOfMonth>, IDeepCloneable<WeekDayOfMonth>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class 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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eWeekDayOfMonth\u003c/code\u003e class within the Google Cloud Backup and DR Service v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eWeekDayOfMonth\u003c/code\u003e is used to define a specific day of the week within a specific week of the month for backup scheduling, combining \u003ccode\u003eWeekOfMonth\u003c/code\u003e and \u003ccode\u003eDayOfWeek\u003c/code\u003e values.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is version 2.1.0, but various other versions, including version 2.0.0, 1.2.0, 1.1.0, and 1.0.0-beta02, are also available.\u003c/p\u003e\n"],["\u003cp\u003eIt has properties for \u003ccode\u003eDayOfWeek\u003c/code\u003e and \u003ccode\u003eWeekOfMonth\u003c/code\u003e, which are required to specify the desired backup day.\u003c/p\u003e\n"]]],[],null,["# Backup and DR Service v1 API - Class WeekDayOfMonth (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.WeekDayOfMonth)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.1.0/Google.Cloud.BackupDR.V1.WeekDayOfMonth)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.0.0/Google.Cloud.BackupDR.V1.WeekDayOfMonth)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.2.0/Google.Cloud.BackupDR.V1.WeekDayOfMonth)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.1.0/Google.Cloud.BackupDR.V1.WeekDayOfMonth)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.0.0-beta02/Google.Cloud.BackupDR.V1.WeekDayOfMonth) \n\n public sealed class WeekDayOfMonth : IMessage\u003cWeekDayOfMonth\u003e, IEquatable\u003cWeekDayOfMonth\u003e, IDeepCloneable\u003cWeekDayOfMonth\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Backup and DR Service v1 API class 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\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WeekDayOfMonth \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WeekDayOfMonth](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.WeekDayOfMonth), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WeekDayOfMonth](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.WeekDayOfMonth), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WeekDayOfMonth](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.WeekDayOfMonth), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BackupDR.V1](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.BackupDR.V1.dll\n\nConstructors\n------------\n\n### WeekDayOfMonth()\n\n public WeekDayOfMonth()\n\n### WeekDayOfMonth(WeekDayOfMonth)\n\n public WeekDayOfMonth(WeekDayOfMonth other)\n\nProperties\n----------\n\n### DayOfWeek\n\n public DayOfWeek DayOfWeek { get; set; }\n\nRequired. Specifies the day of the week.\n\n### WeekOfMonth\n\n public WeekDayOfMonth.Types.WeekOfMonth WeekOfMonth { get; set; }\n\nRequired. Specifies the week of the month."]]