public sealed class AutomaticUpdatePolicy : IMessage<AutomaticUpdatePolicy>, IEquatable<AutomaticUpdatePolicy>, IDeepCloneable<AutomaticUpdatePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Functions v2beta API class AutomaticUpdatePolicy.
Security patches are applied automatically to the runtime without requiring
the function to be redeployed.
[[["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\u003eAutomaticUpdatePolicy\u003c/code\u003e class in the Cloud Functions v2beta API automatically applies security patches to the runtime without requiring function redeployment.\u003c/p\u003e\n"],["\u003cp\u003eThis class is available in two versions: 1.0.0-beta07 (latest) and 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutomaticUpdatePolicy\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutomaticUpdatePolicy\u003c/code\u003e class is found within the \u003ccode\u003eGoogle.Cloud.Functions.V2Beta\u003c/code\u003e namespace and is located in the \u003ccode\u003eGoogle.Cloud.Functions.V2Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for creating an instance of the \u003ccode\u003eAutomaticUpdatePolicy\u003c/code\u003e class: a default constructor and one that takes another \u003ccode\u003eAutomaticUpdatePolicy\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,["# Cloud Functions v2beta API - Class AutomaticUpdatePolicy (1.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta.AutomaticUpdatePolicy)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/1.0.0-beta06/Google.Cloud.Functions.V2Beta.AutomaticUpdatePolicy) \n\n public sealed class AutomaticUpdatePolicy : IMessage\u003cAutomaticUpdatePolicy\u003e, IEquatable\u003cAutomaticUpdatePolicy\u003e, IDeepCloneable\u003cAutomaticUpdatePolicy\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Functions v2beta API class AutomaticUpdatePolicy.\n\nSecurity patches are applied automatically to the runtime without requiring\nthe function to be redeployed. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AutomaticUpdatePolicy \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AutomaticUpdatePolicy](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta.AutomaticUpdatePolicy), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AutomaticUpdatePolicy](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta.AutomaticUpdatePolicy), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AutomaticUpdatePolicy](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta.AutomaticUpdatePolicy), [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.Functions.V2Beta](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Functions.V2Beta.dll\n\nConstructors\n------------\n\n### AutomaticUpdatePolicy()\n\n public AutomaticUpdatePolicy()\n\n### AutomaticUpdatePolicy(AutomaticUpdatePolicy)\n\n public AutomaticUpdatePolicy(AutomaticUpdatePolicy other)"]]