public sealed class MaintenanceWindow : IMessage<MaintenanceWindow>, IEquatable<MaintenanceWindow>, IDeepCloneable<MaintenanceWindow>, IBufferMessage, IMessage
Reference documentation and code samples for the Oracle Database@Google Cloud v1 API class MaintenanceWindow.
Optional. Determines the amount of time the system will wait before the
start of each database server patching operation. Custom action timeout is
in minutes and valid value is between 15 to 120 (inclusive).
Optional. The window of hours during the day when maintenance should be
performed. The window is a 4 hour slot. Valid values are:
0 - represents time slot 0:00 - 3:59 UTC
4 - represents time slot 4:00 - 7:59 UTC
8 - represents time slot 8:00 - 11:59 UTC
12 - represents time slot 12:00 - 15:59 UTC
16 - represents time slot 16:00 - 19:59 UTC
20 - represents time slot 20:00 - 23:59 UTC
Optional. Weeks during the month when maintenance should be performed.
Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a
duration of 7 days. Weeks start and end based on calendar dates, not days
of the week.
[[["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-09-09 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eMaintenanceWindow\u003c/code\u003e class in the Oracle Database@Google Cloud v1 API allows configuration of maintenance periods, including days of the week, hours of the day, months, and weeks of the month.\u003c/p\u003e\n"],["\u003cp\u003eIt provides options for setting a custom action timeout, which defines the waiting period before database server patching operations, with valid values between 15 and 120 minutes.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify a lead time window in weeks, ranging from 1 to 4, to prepare for maintenance downtime.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaintenanceWindow\u003c/code\u003e class also supports defining the patching mode, which can be either "ROLLING" or "NONROLLING," with "ROLLING" as the default, and the scheduling preference of the maintenance window.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaintenanceWindow\u003c/code\u003e can be created with no arguments, or one argument of type \u003ccode\u003eMaintenanceWindow\u003c/code\u003e as a copy.\u003c/p\u003e\n"]]],[],null,["# Oracle Database@Google Cloud v1 API - Class MaintenanceWindow (1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.MaintenanceWindow)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/1.2.0/Google.Cloud.OracleDatabase.V1.MaintenanceWindow)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/1.1.0/Google.Cloud.OracleDatabase.V1.MaintenanceWindow)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/1.0.0/Google.Cloud.OracleDatabase.V1.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 Oracle Database@Google Cloud v1 API class MaintenanceWindow.\n\nMaintenance window as defined by Oracle.\n\u003chttps://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/MaintenanceWindow\u003e \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.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.MaintenanceWindow), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.MaintenanceWindow), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MaintenanceWindow](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.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.OracleDatabase.V1](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.OracleDatabase.V1.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### CustomActionTimeoutMins\n\n public int CustomActionTimeoutMins { get; set; }\n\nOptional. Determines the amount of time the system will wait before the\nstart of each database server patching operation. Custom action timeout is\nin minutes and valid value is between 15 to 120 (inclusive).\n\n### DaysOfWeek\n\n public RepeatedField\u003cDayOfWeek\u003e DaysOfWeek { get; }\n\nOptional. Days during the week when maintenance should be performed.\n\n### HoursOfDay\n\n public RepeatedField\u003cint\u003e HoursOfDay { get; }\n\nOptional. The window of hours during the day when maintenance should be\nperformed. The window is a 4 hour slot. Valid values are:\n0 - represents time slot 0:00 - 3:59 UTC\n4 - represents time slot 4:00 - 7:59 UTC\n8 - represents time slot 8:00 - 11:59 UTC\n12 - represents time slot 12:00 - 15:59 UTC\n16 - represents time slot 16:00 - 19:59 UTC\n20 - represents time slot 20:00 - 23:59 UTC\n\n### IsCustomActionTimeoutEnabled\n\n public bool IsCustomActionTimeoutEnabled { get; set; }\n\nOptional. If true, enables the configuration of a custom action timeout\n(waiting period) between database server patching operations.\n\n### LeadTimeWeek\n\n public int LeadTimeWeek { get; set; }\n\nOptional. Lead time window allows user to set a lead time to prepare for a\ndown time. The lead time is in weeks and valid value is between 1 to 4.\n\n### Months\n\n public RepeatedField\u003cMonth\u003e Months { get; }\n\nOptional. Months during the year when maintenance should be performed.\n\n### PatchingMode\n\n public MaintenanceWindow.Types.PatchingMode PatchingMode { get; set; }\n\nOptional. Cloud CloudExadataInfrastructure node patching method, either\n\"ROLLING\" or \"NONROLLING\". Default value is ROLLING.\n\n### Preference\n\n public MaintenanceWindow.Types.MaintenanceWindowPreference Preference { get; set; }\n\nOptional. The maintenance window scheduling preference.\n\n### WeeksOfMonth\n\n public RepeatedField\u003cint\u003e WeeksOfMonth { get; }\n\nOptional. Weeks during the month when maintenance should be performed.\nWeeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a\nduration of 7 days. Weeks start and end based on calendar dates, not days\nof the week."]]