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.
Install dependencies:
npm install
Requires a SENDGRID_API_KEY environment variable to be set.
npm run sendgrid
Requires MAILJET_API_KEY and MAILJET_API_SECRET environment variables to be
set.
npm run mailjet
npm run vms
npm run vms_api