Google Cloud Functions V2 Client - Class OnDeployUpdatePolicy (2.1.3)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Functions V2 Client class OnDeployUpdatePolicy.
Security patches are only applied when a function is redeployed.
Generated from protobuf messagegoogle.cloud.functions.v2.OnDeployUpdatePolicy
Namespace
Google \ Cloud \ Functions \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ runtime_version
string
Output only. contains the runtime version which was used during latest function deployment.
getRuntimeVersion
Output only. contains the runtime version which was used during latest
function deployment.
Returns
Type
Description
string
setRuntimeVersion
Output only. contains the runtime version which was used during latest
function deployment.
[[["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 2026-03-18 UTC."],[],[]]