1.0.20220730 • Published 3 years ago

@maxim_mazurok/gapi.client.bigqueryreservation v1.0.20220730

Weekly downloads
86
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.20220621

3 years ago

1.0.20220703

3 years ago

1.0.20220630

3 years ago

1.0.20220715

3 years ago

1.0.20220723

3 years ago

1.0.20220730

3 years ago

1.0.20220429

3 years ago

1.0.20220504

3 years ago

1.0.20220511

3 years ago

1.0.20220518

3 years ago

1.0.20220604

3 years ago

1.0.20220525

3 years ago

1.0.20220415

3 years ago

1.0.20220422

3 years ago

1.0.20220319

3 years ago

1.0.20220326

3 years ago

1.0.20220331

3 years ago

1.0.20220226

3 years ago

1.0.20220309

3 years ago

1.0.20220305

3 years ago

1.0.20211230

4 years ago

1.0.20220218

3 years ago

1.0.20220103

3 years ago

1.0.20220115

3 years ago

1.0.20220122

3 years ago

1.0.20220205

3 years ago

1.0.20220128

3 years ago

1.0.20220212

3 years ago

1.0.20211207

4 years ago

1.0.20211105

4 years ago

1.0.20211125

4 years ago

1.0.20211026

4 years ago

1.0.20211015

4 years ago

1.0.20210930

4 years ago

1.0.20210916

4 years ago

1.0.20210910

4 years ago

1.0.20210830

4 years ago

1.0.20210822

4 years ago

1.0.20210816

4 years ago

1.0.20210806

4 years ago

1.0.20210727

4 years ago

1.0.20210717

4 years ago

1.0.20210702

4 years ago

1.0.20210618

4 years ago

1.0.20210607

4 years ago

1.0.20210528

4 years ago

1.0.20210522

4 years ago

1.0.20210517

4 years ago

1.0.20210501

4 years ago

1.0.20210423

4 years ago

1.0.20210416

4 years ago

1.0.20210410

4 years ago

1.0.20210402

4 years ago

1.0.20210324

4 years ago

1.0.20210313

4 years ago

1.0.20210306

4 years ago

1.0.20210219

4 years ago

1.0.20210217

4 years ago

1.0.20210206

4 years ago

1.0.20210128

4 years ago

1.0.20210124

4 years ago

1.0.20210115

4 years ago

1.0.20210109

4 years ago

1.0.20201231

5 years ago

1.0.20201210

5 years ago

1.0.20201201

5 years ago

1.0.20201106

5 years ago