public sealed class CloudFunction.Types.OnDeployUpdatePolicy : IMessage<CloudFunction.Types.OnDeployUpdatePolicy>, IEquatable<CloudFunction.Types.OnDeployUpdatePolicy>, IDeepCloneable<CloudFunction.Types.OnDeployUpdatePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Functions v1 API class CloudFunction.Types.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\u003eThis page provides reference documentation for the \u003ccode\u003eCloudFunction.Types.OnDeployUpdatePolicy\u003c/code\u003e class within the Cloud Functions v1 API, focusing on version 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOnDeployUpdatePolicy\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Functions.V1\u003c/code\u003e namespace and is implemented as a sealed class, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces such as \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 only when a function is redeployed, according to the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, \u003ccode\u003eOnDeployUpdatePolicy()\u003c/code\u003e and \u003ccode\u003eOnDeployUpdatePolicy(CloudFunction.Types.OnDeployUpdatePolicy other)\u003c/code\u003e, to create new instances and new instance from an existing one, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRuntimeVersion\u003c/code\u003e property, of type \u003ccode\u003estring\u003c/code\u003e, is an output-only field indicating the runtime version used during the latest function deployment.\u003c/p\u003e\n"]]],[],null,[]]