Samples for the Google Cloud Tasks API Node.js Client have moved to github.com/googleapis/nodejs-tasks/tree/master/samples/.