public sealed class WeeklyMaintenanceWindow : IMessage<WeeklyMaintenanceWindow>, IEquatable<WeeklyMaintenanceWindow>, IDeepCloneable<WeeklyMaintenanceWindow>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class WeeklyMaintenanceWindow.
Time window in which disruptive maintenance updates occur. Non-disruptive
updates can occur inside or outside this window.
[[["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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eWeeklyMaintenanceWindow\u003c/code\u003e class in the Google Cloud Memorystore for Redis v1 API defines a time frame for disruptive maintenance updates, with non-disruptive updates able to occur outside this window.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Redis.V1\u003c/code\u003e namespace and is implemented by \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWeeklyMaintenanceWindow\u003c/code\u003e has properties for \u003ccode\u003eDay\u003c/code\u003e (the day of the week for updates), \u003ccode\u003eDuration\u003c/code\u003e (which is currently fixed at 1 hour), and \u003ccode\u003eStartTime\u003c/code\u003e (the start time in UTC).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation for \u003ccode\u003eWeeklyMaintenanceWindow\u003c/code\u003e is version 3.5.0, and the documentation provides information on versions ranging back to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWeeklyMaintenanceWindow\u003c/code\u003e class has two constructors: a parameterless constructor and a constructor that takes another \u003ccode\u003eWeeklyMaintenanceWindow\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Memorystore for Redis v1 API - Class WeeklyMaintenanceWindow (3.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.4.0/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.3.0/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.2.0/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.1.0/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.0.0/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.5.0/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.4.0/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.3.0/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.2.0/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow) \n\n public sealed class WeeklyMaintenanceWindow : IMessage\u003cWeeklyMaintenanceWindow\u003e, IEquatable\u003cWeeklyMaintenanceWindow\u003e, IDeepCloneable\u003cWeeklyMaintenanceWindow\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class WeeklyMaintenanceWindow.\n\nTime window in which disruptive maintenance updates occur. Non-disruptive\nupdates can occur inside or outside this window. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WeeklyMaintenanceWindow \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WeeklyMaintenanceWindow](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WeeklyMaintenanceWindow](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WeeklyMaintenanceWindow](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.WeeklyMaintenanceWindow), [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.Redis.V1](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Redis.V1.dll\n\nConstructors\n------------\n\n### WeeklyMaintenanceWindow()\n\n public WeeklyMaintenanceWindow()\n\n### WeeklyMaintenanceWindow(WeeklyMaintenanceWindow)\n\n public WeeklyMaintenanceWindow(WeeklyMaintenanceWindow other)\n\nProperties\n----------\n\n### Day\n\n public DayOfWeek Day { get; set; }\n\nRequired. The day of week that maintenance updates occur.\n\n### Duration\n\n public Duration Duration { get; set; }\n\nOutput only. Duration of the maintenance window. The current window is\nfixed at 1 hour.\n\n### StartTime\n\n public TimeOfDay StartTime { get; set; }\n\nRequired. Start time of the window in UTC time."]]