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
To print available commands:
npm run
Execute a sample:
npm run <sample>
Example:
npm run write