[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-17 UTC。"],[],[],null,["\u003cbr /\u003e\n\nGoogle Cloud Run functions and Cloud Functions for Firebase together\ncomprise an important part of Google's serverless compute solution for creating\nevent-driven applications.\n\nFor **Google Cloud Platform developers** , [Cloud Run\nfunctions](https://cloud.google.com/functions/) serve as a connective layer\nallowing you to weave logic between Google Cloud Platform (GCP) services by\nlistening for and responding to events.\n\nFor **Firebase developers** ,\n[Cloud Functions for Firebase](https://firebase.google.com/docs/functions/)\nprovides a way to extend the behavior of Firebase and integrate Firebase\nfeatures through the addition of server-side code.\n\nBoth solutions provide fast and reliable execution of functions in a fully\nmanaged environment where there's no need for you to worry about managing any\nservers or provisioning any infrastructure.\n\nCloud Functions for Firebase\n\nYou should use Cloud Functions for Firebase if you're a developer building a\nmobile app or mobile web app. Firebase gives mobile developers access to a\ncomplete range of fully managed mobile-centric services including analytics,\nauthentication and Realtime Database. Cloud Functions rounds out the offering\nby providing a way to extend and connect the behavior of Firebase features\nthrough the addition of server-side code.\n\nFirebase developers can easily integrate with external services for tasks like\nprocessing payments and sending SMS messages. Also, developers can include\ncustom logic that is either too heavyweight for a mobile device, or\nwhich needs to be secured on a server.\n[Explore use cases](https://firebase.google.com/docs/functions/use-cases)\nto learn more about typical integrations.\nFor developers that need a more full-featured backend, Cloud Run\nfunctions provides a gateway to the powerful capabilities in\n[Google Cloud Platform](https://cloud.google.com/docs/).\n\nCloud Functions for Firebase is optimized for Firebase developers:\n\n- Firebase SDK to configure your functions through code\n- Integrated with Firebase Console and Firebase CLI\n- The same triggers as Google Cloud Functions, plus Firebase Realtime Database, Firebase Authentication, and Firebase Analytics triggers\n\nCloud Run functions for Google Cloud Platform\n\nDevelopers can connect and extend GCP services by writing code in the form of a\nfunction. Cloud Run functions serve as a connective layer allowing you to\nweave logic between GCP services by listening for and responding to events. With\njust a few lines of code, developers can enrich their use of GCP services to\ncreate higher level combinations without needing to provision or manage servers.\nSee the [Google Cloud Run functions\ndocumentation](https://cloud.google.com/functions/docs/) for more information."]]