注意:在未来的几个月内,我们将会重新整理 App Engine 文档网站,使得查找内容更轻松,并更好地与其他 Google Cloud 产品保持一致。将会提供相同的内容,但导航现在将与其余的 Cloud 产品相一致。
Node.js 16 现已正式发布。
安装 Node.js 版 Google Cloud 客户端库
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Node.js 版 Google Cloud 客户端库是 Node.js 开发者将应用与其他 Google Cloud 服务集成的惯用方式。
例如,您可以为 Cloud Datastore 或 Cloud Storage 安装相应的 Node.js 客户端库,从而将这些服务与您的应用集成。
示例
假设您要使用 Cloud Storage。
要为 Cloud Storage 安装 Node.js 客户端库,请执行以下操作:
使用软件包管理器本地安装客户端库:
设置身份验证。您可以将 Google Cloud Node.js 库配置为自动处理身份验证,也可以手动提供凭据。
利用适用于 Cloud Storage 的 Node.js 客户端库参考,在您的应用中实现对 Cloud Storage 服务的支持。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2021-01-17。
[{
"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":"其他"
}]