0.0.20241029 • Published 8 months ago

@maxim_mazurok/gapi.client.metastore-v1 v0.0.20241029

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

TypeScript typings for Dataproc Metastore API v1

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-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(
  'https://metastore.googleapis.com/$discovery/rest?version=v1',
  () => {
    // 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', 'v1', () => {
  // 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.20241029

8 months ago

0.0.20241022

8 months ago

0.0.20241010

9 months ago

0.0.20240926

9 months ago

0.0.20240920

9 months ago

0.0.20241008

9 months ago

0.0.20240912

10 months ago

0.0.20240910

10 months ago

0.0.20240725

11 months ago

0.0.20240818

11 months ago

0.0.20240613

1 year ago

0.0.20240730

11 months ago

0.0.20240611

1 year ago

0.0.20240709

12 months ago

0.0.20240627

1 year ago

0.0.20240516

1 year ago

0.0.20240715

12 months ago

0.0.20240510

1 year ago

0.0.20240502

1 year ago

0.0.20240426

1 year ago

0.0.20240423

1 year ago

0.0.20240411

1 year ago

0.0.20240325

1 year ago

0.0.20240312

1 year ago

0.0.20240305

1 year ago

0.0.20240228

1 year ago

0.0.20240222

1 year ago

0.0.20240218

1 year ago

0.0.20240207

1 year ago

0.0.20240201

1 year ago

0.0.20240123

1 year ago

0.0.20240111

1 year ago

0.0.20240104

1 year ago

0.0.20240103

2 years ago

0.0.20231214

2 years ago

0.0.20231205

2 years ago

0.0.20231126

2 years ago

0.0.20230817

2 years ago

0.0.20231028

2 years ago

0.0.20230710

2 years ago

0.0.20230713

2 years ago

0.0.20230912

2 years ago

0.0.20231010

2 years ago

0.0.20230807

2 years ago

0.0.20230926

2 years ago

0.0.20230629

2 years ago

0.0.20230905

2 years ago

0.0.20230921

2 years ago

0.0.20230720

2 years ago

0.0.20230727

2 years ago

0.0.20231023

2 years ago

0.0.20231102

2 years ago

0.0.20230622

2 years ago

0.0.20230601

2 years ago

0.0.20230502

2 years ago

0.0.20230610

2 years ago

0.0.20230511

2 years ago

0.0.20230518

2 years ago

0.0.20230530

2 years ago

0.0.20230425

2 years ago

0.0.20230404

2 years ago

0.0.20230305

2 years ago

0.0.20230228

2 years ago

0.0.20230313

2 years ago

0.0.20230413

2 years ago

0.0.20230317

2 years ago

0.0.20230410

2 years ago

0.0.20230323

2 years ago

0.0.20230131

2 years ago

0.0.20230202

2 years ago

0.0.20230215

2 years ago

0.0.20230111

2 years ago

0.0.20230106

2 years ago

0.0.20221208

3 years ago