Jika Anda membuat fungsi baru, lihat Panduan Memulai Konsol di Cloud Run. Konten di halaman ini hanya berlaku untuk fungsi lama yang sudah ada yang dibuat dengan Cloud Functions v1 API.
[[["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\u003eThe Functions Framework allows the creation of lightweight functions that can operate across various environments, such as Cloud Run, local machines, and Knative.\u003c/p\u003e\n"],["\u003cp\u003eIt offers a local development server for rapid testing and enables function invocation in response to requests.\u003c/p\u003e\n"],["\u003cp\u003eThe framework automatically handles the unmarshalling of events that adhere to the CloudEvents specification.\u003c/p\u003e\n"],["\u003cp\u003eFunctions created with this framework are designed to be portable across different serverless platforms.\u003c/p\u003e\n"],["\u003cp\u003eDocumentation for using the Functions Framework with different runtimes like Node.js, Go, Java, PHP, Python, Ruby, and .NET is available on GitHub.\u003c/p\u003e\n"]]],[],null,["# Functions Framework\n===================\n\nThe Functions Framework lets you write lightweight functions that run in many\ndifferent environments, including:\n\n- [Cloud Run functions](https://cloud.google.com/functions/)\n- Your local development machine\n- [Cloud Run](https://cloud.google.com/run/)\n- [Knative](https://github.com/knative/)-based environments\n\nSee [Learn More](#learn_more) for details about the runtimes supported by the\nFunctions Framework.\n\nFunctions Framework Introduction Video\n--------------------------------------\n\nIn this video, Grant and Vinny introduce the Functions Framework:\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nFeatures\n--------\n\n- Spin up a local development server for quick testing\n- Invoke a function in response to a request\n- Automatically unmarshal events conforming to the [CloudEvents](https://cloudevents.io/) spec\n- Portable between serverless platforms\n\nLearn More\n----------\n\nYou can find documentation on how to use the Functions Framework for a given\nruntime on GitHub:\n\n- [Node.js](https://github.com/GoogleCloudPlatform/functions-framework-nodejs)\n- [Go](https://github.com/GoogleCloudPlatform/functions-framework-go)\n- [Java](https://github.com/GoogleCloudPlatform/functions-framework-java)\n- [PHP](https://github.com/GoogleCloudPlatform/functions-framework-php)\n- [Python](https://github.com/GoogleCloudPlatform/functions-framework-python)\n- [Ruby](https://github.com/GoogleCloudPlatform/functions-framework-ruby)\n- [.NET](https://github.com/GoogleCloudPlatform/functions-framework-dotnet)\n\n*** ** * ** ***\n\n- [Functions Framework Contract](https://github.com/GoogleCloudPlatform/functions-framework)"]]