0.0.20240917 • Published 10 months ago

@maxim_mazurok/gapi.client.cloudscheduler-v1beta1 v0.0.20240917

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

TypeScript typings for Cloud Scheduler API v1beta1

Creates and manages jobs run on a regular recurring schedule. For detailed description please check documentation.

Installing

Install typings for Cloud Scheduler API:

npm install @types/gapi.client.cloudscheduler-v1beta1 --save-dev

Usage

You need to initialize Google API client in your code:

gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});

Then load api client wrapper:

gapi.client.load(
  'https://cloudscheduler.googleapis.com/$discovery/rest?version=v1beta1',
  () => {
    // now we can use:
    // gapi.client.cloudscheduler
  }
);
// Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback--
gapi.client.load('cloudscheduler', 'v1beta1', () => {
  // now we can use:
  // gapi.client.cloudscheduler
});

Don't forget to authenticate your client before sending any request to resources:

// declare client_id registered in Google Developers Console
var client_id = '',
  scope = [
    // See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
    'https://www.googleapis.com/auth/cloud-platform',
  ],
  immediate = true;
// ...

gapi.auth.authorize(
  {client_id: client_id, scope: scope, immediate: immediate},
  authResult => {
    if (authResult && !authResult.error) {
      /* handle successful authorization */
    } else {
      /* handle authorization error */
    }
  }
);

After that you can use Cloud Scheduler API resources:

0.0.20240917

10 months ago

0.0.20240910

10 months ago

0.0.20240911

10 months ago

0.0.20240827

10 months ago

0.0.20240809

11 months ago

0.0.20240802

11 months ago

0.0.20240524

1 year ago

0.0.20240615

1 year ago

0.0.20240625

1 year ago

0.0.20240719

11 months ago

0.0.20240712

12 months ago

0.0.20240419

1 year ago

0.0.20240412

1 year ago

0.0.20240315

1 year ago

0.0.20240312

1 year ago

0.0.20240301

1 year ago

0.0.20240226

1 year ago

0.0.20240209

1 year ago

0.0.20240206

1 year ago

0.0.20240126

1 year ago

0.0.20240118

1 year ago

0.0.20240105

1 year ago

0.0.20231208

2 years ago

0.0.20231201

2 years ago

0.0.20230816

2 years ago

0.0.20230929

2 years ago

0.0.20230726

2 years ago

0.0.20230922

2 years ago

0.0.20231020

2 years ago

0.0.20231103

2 years ago

0.0.20230915

2 years ago

0.0.20231006

2 years ago

0.0.20230714

2 years ago

0.0.20231013

2 years ago

0.0.20230707

2 years ago

0.0.20230908

2 years ago

0.0.20230901

2 years ago

0.0.20230630

2 years ago

0.0.20230519

2 years ago

0.0.20230612

2 years ago

0.0.20230512

2 years ago

0.0.20230421

2 years ago

0.0.20230605

2 years ago

0.0.20230526

2 years ago

0.0.20230505

2 years ago

0.0.20230414

2 years ago

0.0.20230315

2 years ago

0.0.20230317

2 years ago

0.0.20230224

2 years ago

0.0.20230221

2 years ago

0.0.20230324

2 years ago

0.0.20230331

2 years ago

0.0.20230203

2 years ago

0.0.20230127

2 years ago

0.0.20230210

2 years ago

0.0.20221102

3 years ago

0.0.20230113

2 years ago

0.0.20230102

3 years ago

0.0.20221206

3 years ago

0.0.20221129

3 years ago

0.0.20221021

3 years ago

0.0.20220830

3 years ago

0.0.20220829

3 years ago

0.0.20220831

3 years ago

0.0.20220822

3 years ago

0.0.20220823

3 years ago

0.0.20220901

3 years ago

0.0.20220824

3 years ago

0.0.20220902

3 years ago

0.0.20220825

3 years ago

0.0.20220826

3 years ago

0.0.20220819

3 years ago

0.0.20220817

3 years ago

0.0.20220816

3 years ago

0.0.20220802

3 years ago