Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Compute Engine Samples

These samples require two environment variables to be set:

  • GOOGLE_APPLICATION_CREDENTIALS - Path to a service account file. You can download one from your Google project's "permissions" page.
  • GCLOUD_PROJECT - Id of your Google project.

Run the samples

Install dependencies:

npm install

sendgrid.js

Requires a SENDGRID_API_KEY environment variable to be set.

npm run sendgrid

mailjet.js

Requires MAILJET_API_KEY and MAILJET_API_SECRET environment variables to be set.

npm run mailjet

vms.js

npm run vms

vms_api.js

npm run vms_api