1.0.7 • Published 5 years ago
cloud-scheduler v1.0.7
Google Cloud Scheduler
- Gitlab repository : https://gitlab.com/Lukashev/cloud-scheduler.
Client to work with the service. Since the module is still in development, only 5 methods are available:
- list
- delete
- run
- get
- create ( new! )
Installation
$ npm i --save cloud-scheduler
Dependencies
- "googleapis": "36.0.0"
- "request": "2.88.0"
"request-promise": "4.2.2"
Basic Usage
var cloudScheduler = require('cloud-scheduler')
cloudScheduler.setAuthCredits({
client_secret: '',
client_id: '',
redirect_uris: ''
})
const start = async () => {
try {
console.log(await cloudScheduler.list(PROJECT_ID, LOCATION_ID))
} catch (err) {
console.error(err)
}
}
start()