public sealed class MaintenanceWindow : IMessage<MaintenanceWindow>, IEquatable<MaintenanceWindow>, IDeepCloneable<MaintenanceWindow>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1beta API class MaintenanceWindow.
Maintenance window. This specifies when Dataproc Metastore
may perform system maintenance operation to the service.
[[["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 \u003ccode\u003eMaintenanceWindow\u003c/code\u003e class in the Dataproc Metastore v1beta API defines a scheduled maintenance window for the service.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, enhancing its functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaintenanceWindow\u003c/code\u003e class has two constructors: a default constructor and one that copies from an existing \u003ccode\u003eMaintenanceWindow\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two key properties: \u003ccode\u003eDayOfWeek\u003c/code\u003e, specifying the day the maintenance window starts, and \u003ccode\u003eHourOfDay\u003c/code\u003e, specifying the starting hour.\u003c/p\u003e\n"],["\u003cp\u003eThe API offers multiple versions of the class, with version 2.0.0-beta11 being the most current release.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1beta API - Class MaintenanceWindow (2.0.0-beta11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.MaintenanceWindow)\n- [2.0.0-beta10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/2.0.0-beta10/Google.Cloud.Metastore.V1Beta.MaintenanceWindow)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/1.0.0-beta02/Google.Cloud.Metastore.V1Beta.MaintenanceWindow) \n\n public sealed class MaintenanceWindow : IMessage\u003cMaintenanceWindow\u003e, IEquatable\u003cMaintenanceWindow\u003e, IDeepCloneable\u003cMaintenanceWindow\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1beta API class MaintenanceWindow.\n\nMaintenance window. This specifies when Dataproc Metastore\nmay perform system maintenance operation to the service. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MaintenanceWindow \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.MaintenanceWindow), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.MaintenanceWindow), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.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.Metastore.V1Beta](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Beta.dll\n\nConstructors\n------------\n\n### MaintenanceWindow()\n\n public MaintenanceWindow()\n\n### MaintenanceWindow(MaintenanceWindow)\n\n public MaintenanceWindow(MaintenanceWindow other)\n\nProperties\n----------\n\n### DayOfWeek\n\n public DayOfWeek DayOfWeek { get; set; }\n\nThe day of week, when the window starts.\n\n### HourOfDay\n\n public int? HourOfDay { get; set; }\n\nThe hour of day (0-23) when the window starts."]]