public sealed class MaintenanceWindow : IMessage<MaintenanceWindow>, IEquatable<MaintenanceWindow>, IDeepCloneable<MaintenanceWindow>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1alpha 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 v1alpha API allows users to specify when system maintenance operations can be performed on the service.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Metastore.V1Alpha\u003c/code\u003e namespace and is implemented within the \u003ccode\u003eGoogle.Cloud.Metastore.V1Alpha.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMaintenanceWindow\u003c/code\u003e is an inheritor of \u003ccode\u003eobject\u003c/code\u003e and implements \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\u003eMaintenanceWindow\u003c/code\u003e class allows a user to set a \u003ccode\u003eDayOfWeek\u003c/code\u003e and \u003ccode\u003eHourOfDay\u003c/code\u003e to schedule these maintenance windows.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eMaintenanceWindow\u003c/code\u003e class is 2.0.0-alpha11, but there are also older versions available such as 2.0.0-alpha10, and 1.0.0-alpha04.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1alpha API - Class MaintenanceWindow (2.0.0-alpha11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-alpha11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.MaintenanceWindow)\n- [2.0.0-alpha10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/2.0.0-alpha10/Google.Cloud.Metastore.V1Alpha.MaintenanceWindow)\n- [1.0.0-alpha04](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/1.0.0-alpha04/Google.Cloud.Metastore.V1Alpha.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 v1alpha 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.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.MaintenanceWindow), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.MaintenanceWindow), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.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.V1Alpha](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Alpha.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."]]