1.0.20220807 • Published 2 years ago

@maxim_mazurok/gapi.client.bigqueryconnection v1.0.20220807

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

TypeScript typings for BigQuery Connection API v1beta1

Allows users to manage BigQuery connections to external data sources. For detailed description please check documentation.

Installing

Install typings for BigQuery Connection API:

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

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 Connection API resources:

1.0.20220618

2 years ago

1.0.20220701

2 years ago

1.0.20220708

2 years ago

1.0.20220715

2 years ago

1.0.20220604

2 years ago

1.0.20220722

2 years ago

1.0.20220807

2 years ago

1.0.20220610

2 years ago

1.0.20220730

2 years ago

1.0.20220506

2 years ago

1.0.20220429

2 years ago

1.0.20220513

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.20220226

2 years ago

1.0.20220305

2 years ago

1.0.20211230

2 years ago

1.0.20220218

2 years ago

1.0.20220125

2 years ago

1.0.20220122

2 years ago

1.0.20220209

2 years ago

1.0.20220205

2 years ago

1.0.20220107

2 years ago

1.0.20220115

2 years ago

1.0.20211130

2 years ago

1.0.20211206

2 years ago

1.0.20211102

3 years ago

1.0.20211027

3 years ago

1.0.20211015

3 years ago

1.0.20210927

3 years ago

1.0.20210918

3 years ago

1.0.20210906

3 years ago

1.0.20210903

3 years ago

1.0.20210827

3 years ago

1.0.20210819

3 years ago

1.0.20210813

3 years ago

1.0.20210727

3 years ago

1.0.20210723

3 years ago

1.0.20210706

3 years ago

1.0.20210617

3 years ago

1.0.20210603

3 years ago

1.0.20210528

3 years ago

1.0.20210518

3 years ago

1.0.20210514

3 years ago

1.0.20210503

3 years ago

1.0.20210430

3 years ago

1.0.20210422

3 years ago

1.0.20210416

3 years ago

1.0.20210410

3 years ago

1.0.20210403

3 years ago

1.0.20210326

3 years ago

1.0.20210313

3 years ago

1.0.20210304

3 years ago

1.0.20210219

3 years ago

1.0.20210213

3 years ago

1.0.20210204

3 years ago

1.0.20210128

3 years ago

1.0.20210121

3 years ago

1.0.20210118

3 years ago

1.0.20210106

3 years ago

1.0.20201231

3 years ago

1.0.20201103

4 years ago