使用 Actions on Google Java/Kotlin 客户端库构建 fulfillment (Dialogflow)
如果您要在 Java/Kotlin 中创建执行方式 webhook,建议您使用 Actions on Google Java/Kotlin 客户端库访问 Actions on Google 平台并与之互动。
简介
Java/Kotlin 客户端库是 Actions on Google 的执行方式库,提供以下功能:
如需查看使用客户端库的完整代码示例,您可以访问示例页面。
查看 API 参考文档
API 参考文档托管在 Actions on Google Java/Kotlin 客户端库 GitHub 页面上。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[null,null,["最后更新时间 (UTC):2023-12-02。"],[[["The 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."],["This library supports all Actions on Google features, provides an idiomatic Java or Kotlin abstraction layer, and handles low-level communication details."],["It 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."],["Developers can use this client library with both Dialogflow integration and Actions SDK for their Action on Google projects."]]],["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"]]