@google-cloud/scheduler

The scheduler package has the following named exports:

Source:
Examples

Install the client library with npm:

npm install --save @google-cloud/scheduler

Import the client library:

const scheduler = require('@google-cloud/scheduler');

Create a client that uses Application Default Credentials (ADC):

const client = new scheduler.CloudSchedulerClient();

Create a client with explicit credentials:

const client = new scheduler.CloudSchedulerClient({
  projectId: 'your-project-id',
  keyFilename: '/path/to/keyfile.json',
});

Members

(static) v1 :object

Properties:
Name Type Description
CloudSchedulerClient constructor

Reference to v1.CloudSchedulerClient

Source:

(static) v1beta1 :object

Properties:
Name Type Description
CloudSchedulerClient constructor

Reference to v1beta1.CloudSchedulerClient

Source: