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> -- [arg_1] [arg_2] [arg_n]
Example:
$ npm run tasks -- list