تم إيقاف إجراءات المحادثات نهائيًا في 13 حزيران (يونيو) 2023. لمزيد من المعلومات، يُرجى الاطّلاع على
إنهاء إجراءات المحادثة.
تنفيذ المهام باستخدام مكتبة عملاء "المهام مع مساعد Google" بلغة Java/Kotlin (Dialogflow)
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
إنّ مكتبة عملاء Actions on Google Java/Kotlin
هي الطريقة المقترَحة للوصول إلى منصّة "المهام مع مساعد Google" والتفاعل معها إذا كنت تريد إنشاء ردّ تلقائي على الويب لتنفيذ الطلب في لغة Java/Kotlin.
مقدمة
مكتبة عملاء Java/Kotlin
هي مكتبة تنفيذ خاصة بـ "المهام مع مساعد Google" وتوفّر الميزات التالية:
- يدعم جميع ميزات المهام مع مساعد Google، بما في ذلك
الردود النصية واستجابات الوسائط المتعددة التفاعلية وتسجيل الدخول إلى الحساب ومساحة تخزين البيانات والمعاملات
وغير ذلك.
- توفّر طبقة اصطلاحية من التجريد في Java أو Kotlin والتي تلفّ واجهة برمجة تطبيقات HTTP/JSON للردّ التلقائي على الويب.
- تتعامل مع التفاصيل المنخفضة المستوى للاتصال بين تنفيذك ومنصة "المهام مع مساعد Google".
- يمكن تثبيته باستخدام Gradle وMaven. ويمكنك العثور على تعليمات الإعداد
في صفحة README
- يتيح لك بسهولة نشر الرد التلقائي على الويب الخاص بالاستلام على أنظمة أساسية مثل
Google App Engine أو AWS Lambda.
يمكنك أيضًا استضافة الرد التلقائي على الويب الخاص بالتنفيذ على مقدّم خدمة السحابة الإلكترونية أو على بيئة ذاتية الاستضافة أو مُدارة ذاتيًا.
- يجب استخدام الإصدار 8 من JDK أو إصدار أحدث.
- يمكنك استخدام مكتبة العملاء مع
دمج Dialogflow مع "المهام مع مساعد Google"
أو مع حزمة SDK للإجراءات.
للاطّلاع على نماذج الرموز الكاملة لاستخدام مكتبة البرامج، يمكنك الانتقال إلى
صفحة النماذج.
عرض مرجع واجهة برمجة التطبيقات
تتم استضافة مرجع واجهة برمجة التطبيقات على
صفحة GitHub الخاصة بمكتبة عميل Java/Kotlin على Google.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe Actions on Google Java/Kotlin client library is the recommended way to access and interact with the Actions on Google platform when building a fulfillment webhook in Java/Kotlin.\u003c/p\u003e\n"],["\u003cp\u003eThis library supports all Actions on Google features, provides an idiomatic Java or Kotlin abstraction layer, and handles low-level communication details.\u003c/p\u003e\n"],["\u003cp\u003eIt can be easily installed using build tools like Gradle and Maven, deployed on various platforms like Google App Engine or AWS Lambda, and requires JDK 8 or higher.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this client library with both Dialogflow integration and Actions SDK for their Action on Google projects.\u003c/p\u003e\n"]]],["The Actions on Google Java/Kotlin client library facilitates interaction with the Actions on Google platform for fulfillment webhooks in Java/Kotlin. It supports all Actions on Google features and abstracts the conversation HTTP/JSON webhook API. The library handles communication with the platform, can be installed via Gradle or Maven, and can be deployed on various platforms like Google App Engine and AWS Lambda. It requires JDK 8 or higher and works with Dialogflow or the Actions SDK. Full code samples and the API reference are available online.\n"],null,["# Build fulfillment with the Actions on Google Java/Kotlin client library (Dialogflow)\n\nThe [Actions on Google Java/Kotlin client library](//github.com/actions-on-google/actions-on-google-java)\nis the recommended way for accessing and interacting with the Actions on Google\nplatform if you are creating a fulfillment webhook in Java/Kotlin.\n\nIntroduction\n------------\n\nThe [Java/Kotlin client library](//github.com/actions-on-google/actions-on-google-java)\nis a fulfillment library for Actions on Google that provides these features:\n\n- Supports all [Actions on Google](/assistant/actions) features, including text and rich multimedia responses, account sign-in, data storage, transactions, and more.\n- Provides an idiomatic layer of abstraction in Java or Kotlin that wraps the [conversation HTTP/JSON webhook API](/assistant/df-asdk/reference/webhooks).\n- Handles the low-level details of communication between your fulfillment and the Actions on Google platform.\n- Can be installed using Gradle and Maven. You can find the setup instructions in the [README](//github.com/actions-on-google/actions-on-google-java/blob/master/README.md).\n- Lets you easily deploy your fulfillment webhook on platforms such as [Google App Engine](//cloud.google.com/appengine/) or [AWS Lambda](//aws.amazon.com/lambda/). You can also host your fulfillment webhook on a cloud service provider or on a self-hosted and self-managed environment.\n- Requires JDK 8 or higher.\n- You can use the client library in conjunction with the [Dialogflow integration for Actions on Google](//dialogflow.com/docs/integrations/google-assistant) or with the [Actions SDK](/assistant/df-asdk/actions-sdk).\n\nTo see full code samples for using the client library, you can visit the\n[samples page](/assistant/df-asdk/samples/github).\n\nView the API reference\n----------------------\n\nThe API reference is hosted on the\n[Actions on Google Java/Kotlin client library GitHub page](//actions-on-google.github.io/actions-on-google-java/)."]]