为了确保您的函数是最新的并且安全无虞,我们偶尔需要您更新函数并对其进行重新部署,以使用支持的运行时。Cloud Run functions 上的运行时包括操作系统、构建和执行针对特定编程语言编写的代码所需的软件,以及支持您的函数的软件。Cloud Run functions 会根据您选择的安全更新政策将更新应用于运行时。
弃用和退役
当系统不再主动维护组件时,Cloud Run functions 可能会弃用相应的运行时并最终将其移除。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-20。"],[[["\u003cp\u003eCloud Run functions require periodic updates and redeployment to maintain security and keep functions up-to-date with supported runtimes.\u003c/p\u003e\n"],["\u003cp\u003eRuntimes are subject to deprecation and decommissioning, which includes a deprecation period during which you should migrate to a newer runtime, and a decommission period after which the runtime can no longer be used and functions may be disabled.\u003c/p\u003e\n"],["\u003cp\u003eThe deprecation and decommission dates are provided for each runtime, with the former representing the start of the deprecation period, and the latter the start of the decommission period.\u003c/p\u003e\n"],["\u003cp\u003eBlank deprecation or decommission dates in the tables indicate that the phase has not yet been scheduled, but users should revisit the page to stay informed.\u003c/p\u003e\n"],["\u003cp\u003eThe provided runtime tables are showing Node.js, Python, Go, Java, Ruby, PHP, and .NET Core language runtimes, along with their generation, environment, runtime ID, deprecation, and decommission information.\u003c/p\u003e\n"]]],[],null,["# Runtime Support\n===============\n\nTo keep your functions up-to-date and secure, we occasionally need you to update\nyour functions and re-deploy them to use a supported runtime. Runtimes on\nCloud Run functions include an operating system, software required to build and\nexecute code written for a specific programming language, and software to\nsupport your functions. Cloud Run functions applies updates to runtimes in\naccordance with your selected\n[security update policy](/functions/docs/securing/execution-environment-security#security_update_policy).\n\nDeprecation and Decommissioning\n-------------------------------\n\nWhen a component is no longer actively maintained, Cloud Run functions may\ndeprecate and eventually remove the runtime.\n\nThis has three aspects: a publication of the deprecation date, a deprecation\nperiod, and a decommission date.\nIn the following tables, the deprecation date is the start of the deprecation\nperiod, while the decommission date indicates the start of the\ndecommission period.\n\nDuring the deprecation period, you can generally continue to create new\nfunctions and update existing functions using the runtime. You should use this\ntime to migrate functions that use the deprecated runtime to a more up-to-date\nruntime.\n\nAfter the decommission date, you can no longer create new functions or update\nexisting functions using the runtime. You must choose a more up-to-date runtime\nto deploy your functions. Functions that continue to use a decommissioned\nruntime may be disabled.\n\nSupport Schedule\n----------------\n\nHere is the list of supported Cloud Run functions runtimes, as\nwell as runtimes that have been deprecated or decommissioned.\n\nBased on qualification and stability of releases, availability and key dates might\nbe delayed. A blank deprecation or decommission date means that phase\nhas not yet been scheduled. Revisit this page to stay up to date.\n| **Note:** You use the **Runtime ID** value if you're deploying functions [from the command line](/functions/docs/deploying/filesystem) or through [Terraform](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloudfunctions_function).\n\n### Node.js\n\n### Python\n\n### Go\n\n| **Note:** Go's [release policy](https://go.dev/doc/devel/release#policy) states that each major Go release is supported until there are two newer major releases. Key dates might not be available until newer versions of Go are made publicly available.\n\n### Java\n\n### Ruby\n\n### PHP\n\n### .NET Core"]]