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 v1 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\u003eThe latest version available for the \u003ccode\u003eMaintenanceUpdatePolicy.Types.MaintenanceWindow\u003c/code\u003e class is 1.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eMaintenanceUpdatePolicy.Types.MaintenanceWindow\u003c/code\u003e, is part of the Google Cloud AlloyDB v1 API and is used to specify preferred maintenance schedules.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaintenanceWindow\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eYou can set the preferred day of the week and the start time for maintenance operations through the \u003ccode\u003eDay\u003c/code\u003e and \u003ccode\u003eStartTime\u003c/code\u003e properties of the class.\u003c/p\u003e\n"],["\u003cp\u003eThere are ten versions available ranging from version 1.0.0 to the latest version 1.9.0, giving the user the option to choose between different versions.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1 API - Class MaintenanceUpdatePolicy.Types.MaintenanceWindow (1.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types.MaintenanceWindow)\n- [1.10.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.10.0/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types.MaintenanceWindow)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.9.0/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types.MaintenanceWindow)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.8.0/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types.MaintenanceWindow)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.7.0/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types.MaintenanceWindow)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.6.0/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types.MaintenanceWindow)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.5.0/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types.MaintenanceWindow)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.4.0/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types.MaintenanceWindow)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.3.0/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types.MaintenanceWindow)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.2.0/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types.MaintenanceWindow)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.1.0/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types.MaintenanceWindow)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.0.0/Google.Cloud.AlloyDb.V1.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 v1 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.V1/latest/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types.MaintenanceWindow), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MaintenanceUpdatePolicy](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.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.V1/latest/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.MaintenanceUpdatePolicy.Types)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.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.V1](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1.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."]]