ساخت کامل با Actions on Google Java/Kitlin Client Library (Dialogflow)
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
اگر در حال ایجاد یک وب هوک تکمیلی در جاوا/کوتلین هستید ، کتابخانه سرویس گیرنده Actions on Google Java/Kotlin راه پیشنهادی برای دسترسی و تعامل با پلتفرم Actions on Google است.
معرفی
کتابخانه سرویس گیرنده Java/Kotlin یک کتابخانه تکمیلی برای Actions on Google است که این ویژگی ها را ارائه می دهد:
- از همه ویژگیهای Actions on Google ، از جمله پاسخهای متنی و چندرسانهای غنی، ورود به حساب، ذخیرهسازی داده، تراکنشها و غیره پشتیبانی میکند.
- یک لایه اصطلاحی از انتزاع در جاوا یا کاتلین ارائه میکند که مکالمه HTTP/JSON webhook API را میپیچد.
- جزئیات سطح پایین ارتباط بین انجام شما و پلتفرم Actions on Google را مدیریت می کند.
- با استفاده از Gradle و Maven قابل نصب است. می توانید دستورالعمل های راه اندازی را در README پیدا کنید.
- به شما امکان می دهد وب هوک خود را به راحتی در پلتفرم هایی مانند Google App Engine یا AWS Lambda مستقر کنید. همچنین میتوانید وب هوک خود را در یک ارائهدهنده خدمات ابری یا در یک محیط خود میزبان و خود مدیریت میزبانی کنید.
- به JDK 8 یا بالاتر نیاز دارد.
- میتوانید از کتابخانه سرویس گیرنده در ارتباط با ادغام Dialogflow برای Actions on Google یا با Actions SDK استفاده کنید.
برای مشاهده نمونههای کد کامل برای استفاده از کتابخانه مشتری، میتوانید به صفحه نمونهها مراجعه کنید.
مرجع API را مشاهده کنید
مرجع API در صفحه GitHub کتابخانه سرویس گیرنده Actions on Google Java/Kotlin میزبانی می شود.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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/)."]]