Dokumentasi Cloud Run Functions
Cloud Run Functions adalah solusi komputasi ringan bagi developer untuk membuat fungsi mandiri dan bertujuan tunggal yang merespons peristiwa Cloud tanpa perlu mengelola lingkungan server atau runtime.
Pelajari lebih lanjut
Mulai bukti konsep Anda dengan kredit gratis senilai $300
-
Mendapatkan akses ke Gemini 2.0 Flash Thinking
-
Penggunaan bulanan gratis untuk produk populer, termasuk AI API dan BigQuery
-
Tidak ada biaya otomatis, tanpa komitmen
Terus jelajahi dengan lebih dari 20 produk yang selalu gratis
Akses 20+ produk gratis untuk kasus penggunaan umum, termasuk API AI, VM, data warehouse, dan lainnya.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-19 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-19 UTC."],[[["\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)"]]