Cloud Run 函式是輕量級運算解決方案,可供開發人員建立獨立的單一用途函式來回應 Cloud 事件,不必管理伺服器或執行階段環境。瞭解詳情。
使用價值 $300 美元的免費抵免額,開始進行概念驗證
-
取得 Gemini 2.0 Flash Thinking 的存取權
-
每月免費使用 AI API 和 BigQuery 等熱門產品
-
不會自動收費,也不會要求您一定要購買特定方案
繼續探索超過 20 項一律免費的產品
使用超過 20 項實用的免費產品,包括 AI API、VM 和 data warehouse 等。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-09-03 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-03 (世界標準時間)。"],[[["\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)"]]