public sealed class OnDeployUpdatePolicy : IMessage<OnDeployUpdatePolicy>, IEquatable<OnDeployUpdatePolicy>, IDeepCloneable<OnDeployUpdatePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Functions v2 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 \u003ccode\u003eOnDeployUpdatePolicy\u003c/code\u003e class is part of the Google Cloud Functions v2 API, with the latest version being 1.7.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for robust functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOnDeployUpdatePolicy\u003c/code\u003e class is inherited from the \u003ccode\u003eobject\u003c/code\u003e class and provides constructors for creating instances and making copies.\u003c/p\u003e\n"],["\u003cp\u003eSecurity patches are only applied to Cloud Functions when they are redeployed, according to this version's documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRuntimeVersion\u003c/code\u003e property of the class indicates the runtime version employed during the most recent function deployment.\u003c/p\u003e\n"]]],[],null,[]]