0.0.20240502 • Published 1 day ago

@maxim_mazurok/gapi.client.metastore-v1beta v0.0.20240502

Weekly downloads
-
License
MIT
Repository
github
Last release
1 day ago

TypeScript typings for Dataproc Metastore API v1beta

The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services. For detailed description please check documentation.

Installing

Install typings for Dataproc Metastore API:

npm install @types/gapi.client.metastore-v1beta --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://metastore.googleapis.com/$discovery/rest?version=v1beta',
  () => {
    // now we can use:
    // gapi.client.metastore
  }
);
// 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('metastore', 'v1beta', () => {
  // now we can use:
  // gapi.client.metastore
});

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 Dataproc Metastore API resources:

0.0.20240502

1 day ago

0.0.20240426

9 days ago

0.0.20240423

13 days ago

0.0.20240411

22 days ago

0.0.20240325

1 month ago

0.0.20240312

2 months ago

0.0.20240305

2 months ago

0.0.20240228

2 months ago

0.0.20240222

2 months ago

0.0.20240218

3 months ago

0.0.20240207

3 months ago

0.0.20240201

3 months ago

0.0.20240123

3 months ago

0.0.20240111

4 months ago

0.0.20240104

4 months ago

0.0.20240103

4 months ago

0.0.20231214

5 months ago

0.0.20231205

5 months ago

0.0.20231126

5 months ago

0.0.20230817

9 months ago

0.0.20231028

6 months ago

0.0.20230807

9 months ago

0.0.20230926

7 months ago

0.0.20230921

8 months ago

0.0.20230720

10 months ago

0.0.20230727

9 months ago

0.0.20231023

7 months ago

0.0.20231102

6 months ago

0.0.20230710

10 months ago

0.0.20230713

10 months ago

0.0.20230912

8 months ago

0.0.20231010

7 months ago

0.0.20230629

10 months ago

0.0.20230905

8 months ago

0.0.20230622

11 months ago

0.0.20230610

11 months ago

0.0.20230511

12 months ago

0.0.20230518

12 months ago

0.0.20230601

11 months ago

0.0.20230502

1 year ago

0.0.20230530

11 months ago

0.0.20230313

1 year ago

0.0.20230413

1 year ago

0.0.20230317

1 year ago

0.0.20230323

1 year ago

0.0.20230425

1 year ago

0.0.20230404

1 year ago

0.0.20230305

1 year ago

0.0.20230228

1 year ago

0.0.20230410

1 year ago

0.0.20230215

1 year ago

0.0.20230131

1 year ago

0.0.20230202

1 year ago

0.0.20221130

1 year ago

0.0.20230106

1 year ago

0.0.20221103

1 year ago

0.0.20221110

1 year ago

0.0.20221208

1 year ago

0.0.20221207

1 year ago

0.0.20230111

1 year ago

0.0.20221027

2 years ago

0.0.20221012

2 years ago

0.0.20220929

2 years ago

0.0.20220921

2 years ago

0.0.20220905

2 years ago

0.0.20220818

2 years ago

0.0.20220919

2 years ago

0.0.20220908

2 years ago

0.0.20220830

2 years ago

0.0.20220816

2 years ago

0.0.20220809

2 years ago