public sealed class Instance.Types.UpdatePolicy : IMessage<Instance.Types.UpdatePolicy>, IEquatable<Instance.Types.UpdatePolicy>, IDeepCloneable<Instance.Types.UpdatePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1beta API class Instance.Types.UpdatePolicy.
[[["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\u003eThis documentation covers the \u003ccode\u003eInstance.Types.UpdatePolicy\u003c/code\u003e class within the Google Cloud AlloyDB v1beta API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdatePolicy\u003c/code\u003e class defines the policy used during instance updates and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are provided to create an \u003ccode\u003eUpdatePolicy\u003c/code\u003e object either from scratch or by copying another existing \u003ccode\u003eUpdatePolicy\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMode\u003c/code\u003e property, which defines the mode for updating an instance, is a key component of the \u003ccode\u003eUpdatePolicy\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class is located within the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1beta API - Class Instance.Types.UpdatePolicy (1.0.0-beta12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types.UpdatePolicy)\n- [1.0.0-beta11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/1.0.0-beta11/Google.Cloud.AlloyDb.V1Beta.Instance.Types.UpdatePolicy) \n\n public sealed class Instance.Types.UpdatePolicy : IMessage\u003cInstance.Types.UpdatePolicy\u003e, IEquatable\u003cInstance.Types.UpdatePolicy\u003e, IDeepCloneable\u003cInstance.Types.UpdatePolicy\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1beta API class Instance.Types.UpdatePolicy.\n\nPolicy to be used while updating the instance. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Instance.Types.UpdatePolicy \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types)[UpdatePolicy](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types.UpdatePolicy), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types)[UpdatePolicy](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types.UpdatePolicy), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types)[UpdatePolicy](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types.UpdatePolicy), [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.V1Beta](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Beta.dll\n\nConstructors\n------------\n\n### UpdatePolicy()\n\n public UpdatePolicy()\n\n### UpdatePolicy(UpdatePolicy)\n\n public UpdatePolicy(Instance.Types.UpdatePolicy other)\n\nProperties\n----------\n\n### Mode\n\n public Instance.Types.UpdatePolicy.Types.Mode Mode { get; set; }\n\nMode for updating the instance."]]