1.0.20220730 • Published 2 years ago

@maxim_mazurok/gapi.client.bigqueryreservation v1.0.20220730

Weekly downloads
86
License
MIT
Repository
github
Last release
2 years ago

TypeScript typings for BigQuery Reservation API v1

A service to modify your BigQuery flat-rate reservations. For detailed description please check documentation.

Installing

Install typings for BigQuery Reservation API:

npm install @types/gapi.client.bigqueryreservation@v1 --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('bigqueryreservation', 'v1', () => {
  // now we can use gapi.client.bigqueryreservation
  // ...
});

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 = [ 
      // View and manage your data in Google BigQuery and see the email address for your Google Account
      'https://www.googleapis.com/auth/bigquery',

      // 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 BigQuery Reservation API resources:

1.0.20220613

2 years ago

1.0.20220621

2 years ago

1.0.20220703

2 years ago

1.0.20220630

2 years ago

1.0.20220715

2 years ago

1.0.20220723

2 years ago

1.0.20220730

2 years ago

1.0.20220429

2 years ago

1.0.20220504

2 years ago

1.0.20220511

2 years ago

1.0.20220518

2 years ago

1.0.20220604

2 years ago

1.0.20220525

2 years ago

1.0.20220415

2 years ago

1.0.20220422

2 years ago

1.0.20220319

2 years ago

1.0.20220326

2 years ago

1.0.20220331

2 years ago

1.0.20220226

2 years ago

1.0.20220309

2 years ago

1.0.20220305

2 years ago

1.0.20211230

2 years ago

1.0.20220218

2 years ago

1.0.20220103

2 years ago

1.0.20220115

2 years ago

1.0.20220122

2 years ago

1.0.20220205

2 years ago

1.0.20220128

2 years ago

1.0.20220212

2 years ago

1.0.20211207

2 years ago

1.0.20211105

3 years ago

1.0.20211125

2 years ago

1.0.20211026

3 years ago

1.0.20211015

3 years ago

1.0.20210930

3 years ago

1.0.20210916

3 years ago

1.0.20210910

3 years ago

1.0.20210830

3 years ago

1.0.20210822

3 years ago

1.0.20210816

3 years ago

1.0.20210806

3 years ago

1.0.20210727

3 years ago

1.0.20210717

3 years ago

1.0.20210702

3 years ago

1.0.20210618

3 years ago

1.0.20210607

3 years ago

1.0.20210528

3 years ago

1.0.20210522

3 years ago

1.0.20210517

3 years ago

1.0.20210501

3 years ago

1.0.20210423

3 years ago

1.0.20210416

3 years ago

1.0.20210410

3 years ago

1.0.20210402

3 years ago

1.0.20210324

3 years ago

1.0.20210313

3 years ago

1.0.20210306

3 years ago

1.0.20210219

3 years ago

1.0.20210217

3 years ago

1.0.20210206

3 years ago

1.0.20210128

3 years ago

1.0.20210124

3 years ago

1.0.20210115

3 years ago

1.0.20210109

3 years ago

1.0.20201231

3 years ago

1.0.20201210

3 years ago

1.0.20201201

3 years ago

1.0.20201106

4 years ago