0.0.20240508 • Published 5 days ago

@maxim_mazurok/gapi.client.dataplex-v1 v0.0.20240508

Weekly downloads
-
License
MIT
Repository
github
Last release
5 days ago

TypeScript typings for Cloud Dataplex API v1

Dataplex API is used to manage the lifecycle of data lakes. For detailed description please check documentation.

Installing

Install typings for Cloud Dataplex API:

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

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 Cloud Dataplex API resources:

0.0.20240508

5 days ago

0.0.20240501

13 days ago

0.0.20240425

20 days ago

0.0.20240419

26 days ago

0.0.20240410

1 month ago

0.0.20240325

2 months ago

0.0.20240317

2 months ago

0.0.20240311

2 months ago

0.0.20240304

2 months ago

0.0.20240224

3 months ago

0.0.20240214

3 months ago

0.0.20240207

3 months ago

0.0.20240131

3 months ago

0.0.20240124

4 months ago

0.0.20240115

4 months ago

0.0.20240107

4 months ago

0.0.20231231

5 months ago

0.0.20231208

5 months ago

0.0.20231129

6 months ago

0.0.20231110

6 months ago

0.0.20230806

10 months ago

0.0.20230809

9 months ago

0.0.20231018

7 months ago

0.0.20230721

10 months ago

0.0.20230922

8 months ago

0.0.20230801

10 months ago

0.0.20231103

7 months ago

0.0.20231007

7 months ago

0.0.20230712

10 months ago

0.0.20230831

9 months ago

0.0.20230913

8 months ago

0.0.20230911

8 months ago

0.0.20231011

7 months ago

0.0.20230709

10 months ago

0.0.20230628

11 months ago

0.0.20230626

11 months ago

0.0.20230616

11 months ago

0.0.20230516

1 year ago

0.0.20230521

12 months ago

0.0.20230607

11 months ago

0.0.20230503

1 year ago

0.0.20230501

1 year ago

0.0.20230604

12 months ago

0.0.20230530

12 months ago

0.0.20230412

1 year ago

0.0.20230313

1 year ago

0.0.20230301

1 year ago

0.0.20230222

1 year ago

0.0.20230423

1 year ago

0.0.20230308

1 year ago

0.0.20230405

1 year ago

0.0.20230328

1 year ago

0.0.20230208

1 year ago

0.0.20230220

1 year ago

0.0.20230125

1 year ago

0.0.20221130

1 year ago

0.0.20221212

1 year ago

0.0.20221113

2 years ago

0.0.20230120

1 year ago

0.0.20230102

1 year ago

0.0.20221109

2 years ago

0.0.20230111

1 year ago

0.0.20221103

2 years ago

0.0.20221026

2 years ago

0.0.20221015

2 years ago

0.0.20221021

2 years ago

0.0.20220928

2 years ago

0.0.20220921

2 years ago

0.0.20220926

2 years ago

0.0.20220818

2 years ago

0.0.20220920

2 years ago

0.0.20220824

2 years ago

0.0.20220725

2 years ago