public sealed class MaintenanceUpdatePolicy : IMessage<MaintenanceUpdatePolicy>, IEquatable<MaintenanceUpdatePolicy>, IDeepCloneable<MaintenanceUpdatePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1alpha API class MaintenanceUpdatePolicy.
MaintenanceUpdatePolicy defines the policy for system updates.
[[["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\u003eMaintenanceUpdatePolicy\u003c/code\u003e class, part of the AlloyDB v1alpha API, defines the rules for system updates.\u003c/p\u003e\n"],["\u003cp\u003eThis class is found in the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Alpha\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Alpha.dll\u003c/code\u003e assembly, with the latest version being 1.0.0-alpha10.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMaintenanceUpdatePolicy\u003c/code\u003e implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for enhanced functionality and structure.\u003c/p\u003e\n"],["\u003cp\u003eIt includes constructors for default initialization and copying from another \u003ccode\u003eMaintenanceUpdatePolicy\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes the \u003ccode\u003eMaintenanceWindows\u003c/code\u003e property, which stores a collection of preferred maintenance windows, limited to one window currently, that are of the type \u003ccode\u003eRepeatedField<MaintenanceUpdatePolicy.Types.MaintenanceWindow>\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1alpha API - Class MaintenanceUpdatePolicy (1.0.0-alpha12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-alpha12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.MaintenanceUpdatePolicy)\n- [1.0.0-alpha11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/1.0.0-alpha11/Google.Cloud.AlloyDb.V1Alpha.MaintenanceUpdatePolicy) \n\n public sealed class MaintenanceUpdatePolicy : IMessage\u003cMaintenanceUpdatePolicy\u003e, IEquatable\u003cMaintenanceUpdatePolicy\u003e, IDeepCloneable\u003cMaintenanceUpdatePolicy\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1alpha API class MaintenanceUpdatePolicy.\n\nMaintenanceUpdatePolicy defines the policy for system updates. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MaintenanceUpdatePolicy \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.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.MaintenanceUpdatePolicy), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MaintenanceUpdatePolicy](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.MaintenanceUpdatePolicy), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MaintenanceUpdatePolicy](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.MaintenanceUpdatePolicy), [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.V1Alpha](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Alpha.dll\n\nConstructors\n------------\n\n### MaintenanceUpdatePolicy()\n\n public MaintenanceUpdatePolicy()\n\n### MaintenanceUpdatePolicy(MaintenanceUpdatePolicy)\n\n public MaintenanceUpdatePolicy(MaintenanceUpdatePolicy other)\n\nProperties\n----------\n\n### DenyMaintenancePeriods\n\n public RepeatedField\u003cMaintenanceUpdatePolicy.Types.DenyMaintenancePeriod\u003e DenyMaintenancePeriods { get; }\n\nPeriods to deny maintenance. Currently limited to 1.\n\n### MaintenanceWindows\n\n public RepeatedField\u003cMaintenanceUpdatePolicy.Types.MaintenanceWindow\u003e MaintenanceWindows { get; }\n\nPreferred windows to perform maintenance. Currently limited to 1."]]