Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
test refactor: use execSync for tests (#286) Apr 12, 2019
.eslintrc.yml
README.md
createVM.js docs: use repo-metadata to generate README (#289) Apr 30, 2019
deleteVM.js docs: use repo-metadata to generate README (#289) Apr 30, 2019
listVMs.js docs: use repo-metadata to generate README (#289) Apr 30, 2019
mailjet.js
package.json chore: release 1.1.1 (#334) Jun 26, 2019
quickstart.js
sendgrid.js
startupScript.js docs: use repo-metadata to generate README (#289) Apr 30, 2019
vms.js docs(samples): update samples to use async/await and mocha (#183) Nov 3, 2018

README.md

Google Cloud Platform logo

Google Compute Engine: Node.js Samples

Open in Cloud Shell

Table of Contents

Before you begin

Before running the samples, make sure you've followed the steps outlined in Using the client library.

Samples

Create VM

View the source code.

Open in Cloud Shell

Usage:

node createVM <vmName>


Delete VM

View the source code.

Open in Cloud Shell

Usage:

node deleteVM <vmName>


List VMs

View the source code.

Open in Cloud Shell

Usage:

node listVMs


Mailjet

View the source code.

Open in Cloud Shell

Usage:

node mailjet


Quickstart

View the source code.

Open in Cloud Shell

Usage:

node quickstart.js


Sendgrid

View the source code.

Open in Cloud Shell

Usage:

node sendgrid.js


Startup Script

View the source code.

Open in Cloud Shell

Usage:

node startupScript.js


Vms

View the source code.

Open in Cloud Shell

Usage:

node vms.js

You can’t perform that action at this time.