为了简化搜索并提升文档体验,我们会将第 1 代和第 2 代文档拆分为单独的文档集。
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Java 框架
除了 Java 版 Functions 框架之外,Micronaut 框架、Spring Cloud Functions 函数项目、Quarkus 现也为 Cloud Functions 提供开箱即用型支持。您可以使用框架的编程模型(包括依赖项注入等功能)创建 HTTP 和事件驱动型函数。
Spring Cloud Functions
您可以使用 Spring Cloud Functions 编写函数,然后使用 Cloud Functions 适配器将其部署到 Java。如需了解详情,请参阅 Spring Cloud 文档。 另请参阅 Spring Cloud Functions 示例。
Micronaut
您可以使用 Micronaut 编写函数,并使用 Micronaut 的 Cloud Functions 支持将其部署到 Java。如需了解详情,请参阅 Micronaut 文档。
Quarkus
您可以使用 Quarkus 编写函数,并使用 Quarkus Cloud Functions 支持将其部署到 Cloud Functions。如需了解详情,请参阅 Quarkus 文档。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-10。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]