public sealed class OnDeployUpdatePolicy : IMessage<OnDeployUpdatePolicy>, IEquatable<OnDeployUpdatePolicy>, IDeepCloneable<OnDeployUpdatePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Functions v2beta API class OnDeployUpdatePolicy.
Security patches are only applied when a function is redeployed.
[[["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 latest version of the \u003ccode\u003eOnDeployUpdatePolicy\u003c/code\u003e class is 1.0.0-beta07, found within the Cloud Functions v2beta API.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eOnDeployUpdatePolicy\u003c/code\u003e, is a sealed class that 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\u003eSecurity patches are applied to a function only when it is redeployed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOnDeployUpdatePolicy\u003c/code\u003e class includes two constructors and a \u003ccode\u003eRuntimeVersion\u003c/code\u003e property, which is output-only and indicates the runtime version during the latest function deployment.\u003c/p\u003e\n"],["\u003cp\u003eThe class is found within the namespace \u003ccode\u003eGoogle.Cloud.Functions.V2Beta\u003c/code\u003e, and in the assembly \u003ccode\u003eGoogle.Cloud.Functions.V2Beta.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]