public sealed class MaintenanceUpdatePolicy.Types.MaintenanceWindow : IMessage<MaintenanceUpdatePolicy.Types.MaintenanceWindow>, IEquatable<MaintenanceUpdatePolicy.Types.MaintenanceWindow>, IDeepCloneable<MaintenanceUpdatePolicy.Types.MaintenanceWindow>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1beta API class MaintenanceUpdatePolicy.Types.MaintenanceWindow.
MaintenanceWindow specifies a preferred day and time for maintenance.
[[["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 documentation covers the \u003ccode\u003eMaintenanceWindow\u003c/code\u003e class, which is part of the AlloyDB v1beta API within the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta\u003c/code\u003e namespace, and is used to define a preferred schedule for maintenance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaintenanceWindow\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showcasing its capabilities within the .NET ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a default constructor \u003ccode\u003eMaintenanceWindow()\u003c/code\u003e and an overloaded constructor \u003ccode\u003eMaintenanceWindow(MaintenanceUpdatePolicy.Types.MaintenanceWindow other)\u003c/code\u003e that allows for copying an existing \u003ccode\u003eMaintenanceWindow\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaintenanceWindow\u003c/code\u003e class provides two key properties, \u003ccode\u003eDay\u003c/code\u003e and \u003ccode\u003eStartTime\u003c/code\u003e, to specify the preferred day of the week and the preferred start time for maintenance operations, respectively, with maintenance starting within one hour of the designated time.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1beta API - Class MaintenanceUpdatePolicy.Types.MaintenanceWindow (1.0.0-beta12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy.Types.MaintenanceWindow)\n- [1.0.0-beta11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/1.0.0-beta11/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy.Types.MaintenanceWindow) \n\n public sealed class MaintenanceUpdatePolicy.Types.MaintenanceWindow : IMessage\u003cMaintenanceUpdatePolicy.Types.MaintenanceWindow\u003e, IEquatable\u003cMaintenanceUpdatePolicy.Types.MaintenanceWindow\u003e, IDeepCloneable\u003cMaintenanceUpdatePolicy.Types.MaintenanceWindow\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1beta API class MaintenanceUpdatePolicy.Types.MaintenanceWindow.\n\nMaintenanceWindow specifies a preferred day and time for maintenance. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MaintenanceUpdatePolicy.Types.MaintenanceWindow \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MaintenanceUpdatePolicy](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy.Types)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy.Types.MaintenanceWindow), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MaintenanceUpdatePolicy](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy.Types)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy.Types.MaintenanceWindow), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MaintenanceUpdatePolicy](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy.Types)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy.Types.MaintenanceWindow), [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.AlloyDb.V1Beta](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Beta.dll\n\nConstructors\n------------\n\n### MaintenanceWindow()\n\n public MaintenanceWindow()\n\n### MaintenanceWindow(MaintenanceWindow)\n\n public MaintenanceWindow(MaintenanceUpdatePolicy.Types.MaintenanceWindow other)\n\nProperties\n----------\n\n### Day\n\n public DayOfWeek Day { get; set; }\n\nPreferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.\n\n### StartTime\n\n public TimeOfDay StartTime { get; set; }\n\nPreferred time to start the maintenance operation on the specified day.\nMaintenance will start within 1 hour of this time."]]