【文件属性】:
文件名称:nodejs-compute:Google Compute Engine的Node.js客户端
文件大小:204KB
文件格式:ZIP
更新时间:2021-04-28 19:17:12
nodejs gce compute compute-engine JavaScript
适用于Node.js的Google Compute Engine客户端库
可以在找到每个版本中更改的全面列表。
在“客户端库介绍”中详细了解有关Cloud API的客户端库,包括较旧的Google API客户。
目录:
版本控制
贡献
执照
快速开始
在你开始之前
选择或创建一个Cloud Platform项目。
为您的项目启用计费。
启用Google Compute Engine API 。
使用服务帐户设置身份验证,以便您可以从本地工作站访问API。
安装客户端库
npm install @google-cloud/compute
使用客户端库
// Imports the Google Cloud client library
const Compute = require ( '@google-cloud/compute' ) ;
// Creates a cli