1.0.20220707 • Published 2 years ago

@maxim_mazurok/gapi.client.networkmanagement v1.0.20220707

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

TypeScript typings for Network Management API v1

The Network Management API provides a collection of network performance monitoring and diagnostic capabilities. For detailed description please check documentation.

Installing

Install typings for Network Management API:

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

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 Network Management API resources:

1.0.20220706

2 years ago

1.0.20220707

2 years ago

1.0.20220623

2 years ago

1.0.20220526

2 years ago

1.0.20220504

2 years ago

1.0.20220427

2 years ago

1.0.20220602

2 years ago

1.0.20220323

2 years ago

1.0.20220420

2 years ago

1.0.20220413

2 years ago

1.0.20220330

2 years ago

1.0.20220307

2 years ago

1.0.20220228

2 years ago

1.0.20220119

2 years ago

1.0.20220105

2 years ago

1.0.20220223

2 years ago

1.0.20211103

3 years ago

1.0.20211020

3 years ago

1.0.20211027

3 years ago

1.0.20210929

3 years ago

1.0.20210922

3 years ago

1.0.20210908

3 years ago

1.0.20210818

3 years ago

1.0.20210811

3 years ago

1.0.20210728

3 years ago

1.0.20210721

3 years ago

1.0.20210624

3 years ago

1.0.20210616

3 years ago

1.0.20210610

3 years ago

1.0.20210603

3 years ago

1.0.20210520

3 years ago

1.0.20210513

3 years ago

1.0.20210506

3 years ago

1.0.20210429

3 years ago

1.0.20210422

3 years ago

1.0.20210415

3 years ago

1.0.20210408

3 years ago

1.0.20210401

3 years ago

1.0.20210325

3 years ago

1.0.20210316

3 years ago

1.0.20201105

3 years ago