تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تشكّل وظائف Cloud Run و"وظائف Firebase السحابية" معًا جزءًا مهمًا من حلول الحوسبة بدون خادم من Google لإنشاء تطبيقات مستنِدة إلى الأحداث.
بالنسبة إلى مطوّري Google Cloud Platform، تعمل وظائف Cloud Run كطبقة ربط
تتيح لك دمج المنطق بين خدمات Google Cloud Platform (GCP) من خلال
الاستماع إلى الأحداث والاستجابة لها.
بالنسبة إلى مطوّري Firebase،
توفّر وظائف Firebase السحابية
طريقة لتوسيع نطاق سلوك Firebase ودمج ميزات Firebase
من خلال إضافة رمز من جهة الخادم.
يوفّر كلا الحلّين تنفيذًا سريعًا وموثوقًا للوظائف في بيئة مُدارة بالكامل، ما يغنيك عن القلق بشأن إدارة أي خوادم أو توفير أي بنية تحتية.
وظائف السحابة الإلكترونية لبرنامج Firebase
يجب استخدام Cloud Functions for Firebase إذا كنت مطوّرًا تنشئ تطبيقًا على الأجهزة الجوّالة أو تطبيقًا على الويب متوافقًا مع الأجهزة الجوّالة. تتيح Firebase للمطوّرين على الأجهزة الجوّالة الوصول إلى مجموعة كاملة من الخدمات المُدارة بالكامل والمخصّصة للأجهزة الجوّالة، بما في ذلك الإحصاءات والمصادقة وقاعدة البيانات في الوقت الفعلي. تكمّل "وظائف Cloud" العرض
من خلال توفير طريقة لتوسيع نطاق سلوك ميزات Firebase وربطها
عن طريق إضافة رمز من جهة الخادم.
يمكن لمطوّري Firebase الدمج بسهولة مع الخدمات الخارجية لتنفيذ مهام مثل معالجة الدفعات وإرسال رسائل SMS. يمكن للمطوّرين أيضًا تضمين منطق مخصّص إما أن يكون ثقيلاً جدًا بالنسبة إلى جهاز جوّال أو يحتاج إلى تأمين على خادم.
استكشاف حالات الاستخدام
لمزيد من المعلومات عن عمليات الدمج النموذجية
بالنسبة إلى المطوّرين الذين يحتاجون إلى خلفية أكثر اكتمالاً، توفّر دوال Cloud Run بوابة إلى الإمكانات الفعّالة في Google Cloud Platform.
تم تحسين "وظائف السحابة الإلكترونية لبرنامج Firebase" للمطوّرين الذين يستخدمون Firebase:
حزمة تطوير البرامج (SDK) من Firebase لضبط وظائفك من خلال الرمز
متكاملة مع "وحدة تحكّم Firebase" وFirebase CLI
المشغّلات نفسها المستخدَمة في "وظائف Google السحابية"، بالإضافة إلى مشغّلات "قاعدة بيانات Firebase الآنية الاستجابة" و"مصادقة Firebase" و"إحصاءات Firebase"
وظائف Cloud Run في Google Cloud Platform
يمكن للمطوّرين ربط خدمات Google Cloud Platform وتوسيع نطاقها من خلال كتابة رمز برمجي على شكل دالة. تعمل وظائف Cloud Run كطبقة ربط تتيح لك دمج المنطق بين خدمات GCP من خلال الاستماع إلى الأحداث والاستجابة لها. باستخدام بضعة أسطر من الرمز البرمجي، يمكن للمطوّرين تحسين استخدامهم لخدمات GCP من أجل إنشاء مجموعات ذات مستوى أعلى بدون الحاجة إلى توفير الخوادم أو إدارتها.
يمكنك الاطّلاع على مستندات دوال Google Cloud Run للحصول على مزيد من المعلومات.
تاريخ التعديل الأخير: 2025-09-05 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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-09-05 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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."]]