使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Cloud Run 函数是一个轻量级计算解决方案,可供开发者创建单一用途的独立函数,无需管理服务器或运行时环境即可对云端事件作出响应。了解详情
免费开始使用
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺用量
查看免费产品优惠
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-13。
[[["易于理解","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-02-13。"],[[["\u003cp\u003eCloud Run functions provide a serverless compute solution for developers to build single-purpose functions that respond to Cloud events.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the console quickstart or the gcloud functions command-line quickstart to deploy Cloud Run functions.\u003c/p\u003e\n"],["\u003cp\u003eCloud Run functions can be triggered by HTTP requests or CloudEvents, allowing flexible event handling.\u003c/p\u003e\n"],["\u003cp\u003eComprehensive documentation is available, including guides for writing and deploying functions, reference materials for APIs and commands, and essential resource links.\u003c/p\u003e\n"],["\u003cp\u003eThere are several versions of Cloud functions, including Cloud Run functions, Cloud Function V2 API and Cloud Run functions (1st gen).\u003c/p\u003e\n"]]],[],null,["# Cloud Run functions documentation\n=================================\n\n[Read product documentation](/run/docs/functions-with-run)\nCloud Run functions is a\nlightweight compute solution for developers to create single-purpose,\nstand-alone functions that respond to Cloud events without the need to\nmanage a server or runtime environment.\n[Learn more](/run/docs/functions-with-run).\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n-\n\n\n Get started:\n [Console quickstart](/run/docs/quickstarts/functions/deploy-functions-console)\n or\n [CLI quickstart](/run/docs/quickstarts/functions/deploy-functions-gcloud)\n\n\n-\n\n\n Write functions:\n [HTTP](/run/docs/write-http-functions)\n or\n [CloudEvents](/run/docs/write-event-driven-functions)\n\n\n-\n\n [Deploy functions](/run/docs/deploy-functions)\n\n-\n\n\n Function triggers:\n [HTTP](/run/docs/triggering/https-request)\n or\n [CloudEvents](/run/docs/triggering/trigger-with-events)\n\n\nfind_in_page\n\n### Reference\n\n-\n\n [gcloud run commands](/sdk/gcloud/reference/run)\n\n-\n\n [REST API](/run/docs/reference/rest)\n\n-\n\n [RPC API](/run/docs/reference/rpc)\n\n-\n\n [gcloud functions commands](/sdk/gcloud/reference/functions)\n\ninfo\n\n### Resources\n\n-\n\n [Pricing](/run/pricing)\n\n-\n\n [Quotas and limits](/run/quotas)\n\n-\n\n [Release notes](/run/docs/release-notes)\n\n-\n\n [Locations](/run/docs/locations)\n\n-\n\n [Runtime lifecycle](/run/docs/runtime-support)\n\n-\n\n [Support](/run/docs/support)\n\n-\n\n\n Versions:\n [Cloud Run functions](/run/docs/functions-with-run),\n\n [Cloud Functions v2 API](/functions/docs/concepts/overview),\n or\n [Cloud Run functions (1st gen)](/functions/1stgendocs/concepts/overview)"]]