open-index/open-npm huggingface dataset:
npm package: @maxim_mazurok/gapi.client.oauth2-v2
Description: TypeScript typings for Google OAuth2 API v2
Author: Maxim Mazurok
Latest version: 0.3.20200213

# TypeScript typings for Google OAuth2 API v2

Obtains end-user authorization grants for use with other Google APIs.
For detailed description please check [documentation](https://developers.google.com/identity/protocols/oauth2/).

## Installing

Install typings for Google OAuth2 API:

```
npm install @types/gapi.client.oauth2-v2 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://www.googleapis.com/discovery/v1/apis/oauth2/v2/rest',
  () => {
    // now we can use:
    // gapi.client.oauth2
  },
);
```

```typescript
// 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('oauth2', 'v2', () => {
  // now we can use:
  // gapi.client.oauth2
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// declare client_id registered in Google Developers Console
var client_id = '',
  scope = [
    // See your primary Google Account email address
    'https://www.googleapis.com/auth/userinfo.email',

    // See your personal info, including any personal info you've made publicly available
    'https://www.googleapis.com/auth/userinfo.profile',

    // Associate you with your personal info on Google
    'openid',
  ],
  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 Google OAuth2 API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
undefined
*/
await gapi.client.oauth2.userinfo.get({});
```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.oauth2-v2#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.observability-v1
Description: TypeScript typings for Observability API v1
Author: Maxim Mazurok
Latest version: 0.2.20260312

# TypeScript typings for Observability API v1

Provides functionality for configuring the observability scope, which controls the log, metric, and trace data that you can view.
For detailed description please check [documentation](https://cloud.google.com/stackdriver/docs/).

## Installing

Install typings for Observability API:

```
npm install @types/gapi.client.observability-v1 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://observability.googleapis.com/$discovery/rest?version=v1',
  () => {
    // now we can use:
    // gapi.client.observability
  },
);
```

```typescript
// 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('observability', 'v1', () => {
  // now we can use:
  // gapi.client.observability
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 Observability API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.observability-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.ondemandscanning
Description: TypeScript typings for On-Demand Scanning API v1
Author: Maxim Mazurok
Latest version: 1.0.20220806

# TypeScript typings for On-Demand Scanning API v1

A service to scan container images for vulnerabilities.
For detailed description please check [documentation](https://cloud.google.com/container-analysis/docs/on-demand-scanning/).

## Installing

Install typings for On-Demand Scanning API:

```
npm install @types/gapi.client.ondemandscanning@v1 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load('ondemandscanning', 'v1', () => {
  // now we can use gapi.client.ondemandscanning
  // ...
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 On-Demand Scanning API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.ondemandscanning-v1
Description: TypeScript typings for On-Demand Scanning API v1
Author: Maxim Mazurok
Latest version: 0.2.20260316

# TypeScript typings for On-Demand Scanning API v1

A service to scan container images for vulnerabilities.
For detailed description please check [documentation](https://cloud.google.com/container-analysis/docs/on-demand-scanning/).

## Installing

Install typings for On-Demand Scanning API:

```
npm install @types/gapi.client.ondemandscanning-v1 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://ondemandscanning.googleapis.com/$discovery/rest?version=v1',
  () => {
    // now we can use:
    // gapi.client.ondemandscanning
  },
);
```

```typescript
// 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('ondemandscanning', 'v1', () => {
  // now we can use:
  // gapi.client.ondemandscanning
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 On-Demand Scanning API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.ondemandscanning-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.ondemandscanning-v1beta1
Description: TypeScript typings for On-Demand Scanning API v1beta1
Author: Maxim Mazurok
Latest version: 0.2.20260316

# TypeScript typings for On-Demand Scanning API v1beta1

A service to scan container images for vulnerabilities.
For detailed description please check [documentation](https://cloud.google.com/container-analysis/docs/on-demand-scanning/).

## Installing

Install typings for On-Demand Scanning API:

```
npm install @types/gapi.client.ondemandscanning-v1beta1 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://ondemandscanning.googleapis.com/$discovery/rest?version=v1beta1',
  () => {
    // now we can use:
    // gapi.client.ondemandscanning
  },
);
```

```typescript
// 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('ondemandscanning', 'v1beta1', () => {
  // now we can use:
  // gapi.client.ondemandscanning
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 On-Demand Scanning API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.ondemandscanning-v1beta1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.oracledatabase-v1
Description: TypeScript typings for Oracle Database@Google Cloud API v1
Author: Maxim Mazurok
Latest version: 0.5.20260316

# TypeScript typings for Oracle Database@Google Cloud API v1

The Oracle Database@Google Cloud API provides a set of APIs to manage Oracle database services, such as Exadata and Autonomous Databases.
For detailed description please check [documentation](https://cloud.google.com/oracle/database/docs).

## Installing

Install typings for Oracle Database@Google Cloud API:

```
npm install @types/gapi.client.oracledatabase-v1 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://oracledatabase.googleapis.com/$discovery/rest?version=v1',
  () => {
    // now we can use:
    // gapi.client.oracledatabase
  },
);
```

```typescript
// 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('oracledatabase', 'v1', () => {
  // now we can use:
  // gapi.client.oracledatabase
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 Oracle Database@Google Cloud API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.oracledatabase-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.orgpolicy
Description: TypeScript typings for Organization Policy API v2
Author: Maxim Mazurok
Latest version: 2.0.20220809

# TypeScript typings for Organization Policy API v2

The Org Policy API allows users to configure governance rules on their GCP resources across the Cloud Resource Hierarchy.
For detailed description please check [documentation](https://cloud.google.com/orgpolicy/docs/reference/rest/index.html).

## Installing

Install typings for Organization Policy API:

```
npm install @types/gapi.client.orgpolicy@v2 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load('orgpolicy', 'v2', () => {
  // now we can use gapi.client.orgpolicy
  // ...
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 Organization Policy API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.orgpolicy-v2
Description: TypeScript typings for Organization Policy API v2
Author: Maxim Mazurok
Latest version: 0.2.20260312

# TypeScript typings for Organization Policy API v2

The Organization Policy API allows users to configure governance rules on their Google Cloud resources across the resource hierarchy.
For detailed description please check [documentation](https://cloud.google.com/orgpolicy/docs/reference/rest/index.html).

## Installing

Install typings for Organization Policy API:

```
npm install @types/gapi.client.orgpolicy-v2 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://orgpolicy.googleapis.com/$discovery/rest?version=v2',
  () => {
    // now we can use:
    // gapi.client.orgpolicy
  },
);
```

```typescript
// 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('orgpolicy', 'v2', () => {
  // now we can use:
  // gapi.client.orgpolicy
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 Organization Policy API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.orgpolicy-v2#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.osconfig
Description: TypeScript typings for OS Config API v1
Author: Maxim Mazurok
Latest version: 1.0.20220725

# TypeScript typings for OS Config API v1

OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.
For detailed description please check [documentation](https://cloud.google.com/compute/docs/osconfig/rest).

## Installing

Install typings for OS Config API:

```
npm install @types/gapi.client.osconfig@v1 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load('osconfig', 'v1', () => {
  // now we can use gapi.client.osconfig
  // ...
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 OS Config API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.osconfig-v1
Description: TypeScript typings for OS Config API v1
Author: Maxim Mazurok
Latest version: 0.2.20260312

# TypeScript typings for OS Config API v1

OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.
For detailed description please check [documentation](https://cloud.google.com/compute/docs/osconfig/rest).

## Installing

Install typings for OS Config API:

```
npm install @types/gapi.client.osconfig-v1 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://osconfig.googleapis.com/$discovery/rest?version=v1',
  () => {
    // now we can use:
    // gapi.client.osconfig
  },
);
```

```typescript
// 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('osconfig', 'v1', () => {
  // now we can use:
  // gapi.client.osconfig
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 OS Config API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.osconfig-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.osconfig-v1alpha
Description: TypeScript typings for OS Config API v1alpha
Author: Maxim Mazurok
Latest version: 0.2.20260312

# TypeScript typings for OS Config API v1alpha

OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.
For detailed description please check [documentation](https://cloud.google.com/compute/docs/osconfig/rest).

## Installing

Install typings for OS Config API:

```
npm install @types/gapi.client.osconfig-v1alpha --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://osconfig.googleapis.com/$discovery/rest?version=v1alpha',
  () => {
    // now we can use:
    // gapi.client.osconfig
  },
);
```

```typescript
// 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('osconfig', 'v1alpha', () => {
  // now we can use:
  // gapi.client.osconfig
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 OS Config API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.osconfig-v1alpha#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.osconfig-v1beta
Description: TypeScript typings for OS Config API v1beta
Author: Maxim Mazurok
Latest version: 0.2.20260312

# TypeScript typings for OS Config API v1beta

OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.
For detailed description please check [documentation](https://cloud.google.com/compute/docs/osconfig/rest).

## Installing

Install typings for OS Config API:

```
npm install @types/gapi.client.osconfig-v1beta --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://osconfig.googleapis.com/$discovery/rest?version=v1beta',
  () => {
    // now we can use:
    // gapi.client.osconfig
  },
);
```

```typescript
// 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('osconfig', 'v1beta', () => {
  // now we can use:
  // gapi.client.osconfig
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 OS Config API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.osconfig-v1beta#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.osconfig-v2
Description: TypeScript typings for OS Config API v2
Author: Maxim Mazurok
Latest version: 0.2.20260312

# TypeScript typings for OS Config API v2

OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.
For detailed description please check [documentation](https://cloud.google.com/compute/docs/osconfig/rest).

## Installing

Install typings for OS Config API:

```
npm install @types/gapi.client.osconfig-v2 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://osconfig.googleapis.com/$discovery/rest?version=v2',
  () => {
    // now we can use:
    // gapi.client.osconfig
  },
);
```

```typescript
// 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('osconfig', 'v2', () => {
  // now we can use:
  // gapi.client.osconfig
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 OS Config API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.osconfig-v2#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.osconfig-v2beta
Description: TypeScript typings for OS Config API v2beta
Author: Maxim Mazurok
Latest version: 0.2.20260312

# TypeScript typings for OS Config API v2beta

OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.
For detailed description please check [documentation](https://cloud.google.com/compute/docs/osconfig/rest).

## Installing

Install typings for OS Config API:

```
npm install @types/gapi.client.osconfig-v2beta --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://osconfig.googleapis.com/$discovery/rest?version=v2beta',
  () => {
    // now we can use:
    // gapi.client.osconfig
  },
);
```

```typescript
// 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('osconfig', 'v2beta', () => {
  // now we can use:
  // gapi.client.osconfig
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 OS Config API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.osconfig-v2beta#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.oslogin
Description: TypeScript typings for Cloud OS Login API v1
Author: Maxim Mazurok
Latest version: 1.0.20220806

# TypeScript typings for Cloud OS Login API v1

You can use OS Login to manage access to your VM instances using IAM roles.
For detailed description please check [documentation](https://cloud.google.com/compute/docs/oslogin/).

## Installing

Install typings for Cloud OS Login API:

```
npm install @types/gapi.client.oslogin@v1 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load('oslogin', 'v1', () => {
  // now we can use gapi.client.oslogin
  // ...
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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',

      // View your data across Google Cloud services and see the email address of your Google Account
      'https://www.googleapis.com/auth/cloud-platform.read-only',

      // View and manage your Google Compute Engine resources
      'https://www.googleapis.com/auth/compute',

      // View your Google Compute Engine resources
      'https://www.googleapis.com/auth/compute.readonly',
    ],
    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 OS Login API resources:

```typescript

/*
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
*/
await gapi.client.oslogin.users.getLoginProfile({ name: "name",  });

/*
Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.
*/
await gapi.client.oslogin.users.importSshPublicKey({ parent: "parent",  });
```
npm package: @maxim_mazurok/gapi.client.oslogin-v1
Description: TypeScript typings for Cloud OS Login API v1
Author: Maxim Mazurok
Latest version: 0.2.20260315

# TypeScript typings for Cloud OS Login API v1

You can use OS Login to manage access to your VM instances using IAM roles.
For detailed description please check [documentation](https://cloud.google.com/compute/docs/oslogin/).

## Installing

Install typings for Cloud OS Login API:

```
npm install @types/gapi.client.oslogin-v1 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://oslogin.googleapis.com/$discovery/rest?version=v1',
  () => {
    // now we can use:
    // gapi.client.oslogin
  },
);
```

```typescript
// 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('oslogin', 'v1', () => {
  // now we can use:
  // gapi.client.oslogin
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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',

    // View your data across Google Cloud services and see the email address of your Google Account
    'https://www.googleapis.com/auth/cloud-platform.read-only',

    // View and manage your Google Compute Engine resources
    'https://www.googleapis.com/auth/compute',

    // View your Google Compute Engine resources
    'https://www.googleapis.com/auth/compute.readonly',
  ],
  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 OS Login API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
*/
await gapi.client.oslogin.users.getLoginProfile({name: 'name'});

/*
Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.
*/
await gapi.client.oslogin.users.importSshPublicKey({parent: 'parent'});
```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.oslogin-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.oslogin-v1alpha
Description: TypeScript typings for Cloud OS Login API v1alpha
Author: Maxim Mazurok
Latest version: 0.2.20260315

# TypeScript typings for Cloud OS Login API v1alpha

You can use OS Login to manage access to your VM instances using IAM roles.
For detailed description please check [documentation](https://cloud.google.com/compute/docs/oslogin/).

## Installing

Install typings for Cloud OS Login API:

```
npm install @types/gapi.client.oslogin-v1alpha --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://oslogin.googleapis.com/$discovery/rest?version=v1alpha',
  () => {
    // now we can use:
    // gapi.client.oslogin
  },
);
```

```typescript
// 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('oslogin', 'v1alpha', () => {
  // now we can use:
  // gapi.client.oslogin
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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',

    // View your data across Google Cloud services and see the email address of your Google Account
    'https://www.googleapis.com/auth/cloud-platform.read-only',

    // View and manage your Google Compute Engine resources
    'https://www.googleapis.com/auth/compute',

    // View your Google Compute Engine resources
    'https://www.googleapis.com/auth/compute.readonly',
  ],
  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 OS Login API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
*/
await gapi.client.oslogin.users.getLoginProfile({name: 'name'});

/*
Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.
*/
await gapi.client.oslogin.users.importSshPublicKey({parent: 'parent'});
```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.oslogin-v1alpha#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.oslogin-v1beta
Description: TypeScript typings for Cloud OS Login API v1beta
Author: Maxim Mazurok
Latest version: 0.2.20260315

# TypeScript typings for Cloud OS Login API v1beta

You can use OS Login to manage access to your VM instances using IAM roles.
For detailed description please check [documentation](https://cloud.google.com/compute/docs/oslogin/).

## Installing

Install typings for Cloud OS Login API:

```
npm install @types/gapi.client.oslogin-v1beta --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://oslogin.googleapis.com/$discovery/rest?version=v1beta',
  () => {
    // now we can use:
    // gapi.client.oslogin
  },
);
```

```typescript
// 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('oslogin', 'v1beta', () => {
  // now we can use:
  // gapi.client.oslogin
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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',

    // View your data across Google Cloud services and see the email address of your Google Account
    'https://www.googleapis.com/auth/cloud-platform.read-only',

    // View and manage your Google Compute Engine resources
    'https://www.googleapis.com/auth/compute',

    // View your Google Compute Engine resources
    'https://www.googleapis.com/auth/compute.readonly',
  ],
  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 OS Login API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
*/
await gapi.client.oslogin.users.getLoginProfile({name: 'name'});

/*
Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.
*/
await gapi.client.oslogin.users.importSshPublicKey({parent: 'parent'});
```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.oslogin-v1beta#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.pagespeedonline
Description: TypeScript typings for PageSpeed Insights API v5
Author: Maxim Mazurok
Latest version: 5.0.20220811

# TypeScript typings for PageSpeed Insights API v5

The PageSpeed Insights API lets you analyze the performance of your website with a simple API. It offers tailored suggestions for how you can optimize your site, and lets you easily integrate PageSpeed Insights analysis into your development tools and workflow. 
For detailed description please check [documentation](https://developers.google.com/speed/docs/insights/v5/about).

## Installing

Install typings for PageSpeed Insights API:

```
npm install @types/gapi.client.pagespeedonline@v5 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load('pagespeedonline', 'v5', () => {
  // now we can use gapi.client.pagespeedonline
  // ...
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// declare client_id registered in Google Developers Console
var client_id = '',
  scope = [ 
      // Associate you with your personal info on Google
      'openid',
    ],
    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 PageSpeed Insights API resources:

```typescript

/*
Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information.
*/
await gapi.client.pagespeedonline.pagespeedapi.runpagespeed({ url: "url",  });
```
npm package: @maxim_mazurok/gapi.client.pagespeedonline-v5
Description: TypeScript typings for PageSpeed Insights API v5
Author: Maxim Mazurok
Latest version: 0.2.20260317

# TypeScript typings for PageSpeed Insights API v5

The PageSpeed Insights API lets you analyze the performance of your website with a simple API. It offers tailored suggestions for how you can optimize your site, and lets you easily integrate PageSpeed Insights analysis into your development tools and workflow.
For detailed description please check [documentation](https://developers.google.com/speed/docs/insights/v5/about).

## Installing

Install typings for PageSpeed Insights API:

```
npm install @types/gapi.client.pagespeedonline-v5 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://pagespeedonline.googleapis.com/$discovery/rest?version=v5',
  () => {
    // now we can use:
    // gapi.client.pagespeedonline
  },
);
```

```typescript
// 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('pagespeedonline', 'v5', () => {
  // now we can use:
  // gapi.client.pagespeedonline
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// declare client_id registered in Google Developers Console
var client_id = '',
  scope = [
    // Associate you with your personal info on Google
    'openid',
  ],
  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 PageSpeed Insights API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information.
*/
await gapi.client.pagespeedonline.pagespeedapi.runpagespeed({url: 'url'});
```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.pagespeedonline-v5#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.parallelstore-v1
Description: TypeScript typings for Parallelstore API v1
Author: Maxim Mazurok
Latest version: 0.2.20251029

# TypeScript typings for Parallelstore API v1

For detailed description please check [documentation](https://cloud.google.com/parallelstore).

## Installing

Install typings for Parallelstore API:

```
npm install @types/gapi.client.parallelstore-v1 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://parallelstore.googleapis.com/$discovery/rest?version=v1',
  () => {
    // now we can use:
    // gapi.client.parallelstore
  },
);
```

```typescript
// 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('parallelstore', 'v1', () => {
  // now we can use:
  // gapi.client.parallelstore
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 Parallelstore API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.parallelstore-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.parallelstore-v1beta
Description: TypeScript typings for Parallelstore API v1beta
Author: Maxim Mazurok
Latest version: 0.2.20251029

# TypeScript typings for Parallelstore API v1beta

For detailed description please check [documentation](https://cloud.google.com/parallelstore).

## Installing

Install typings for Parallelstore API:

```
npm install @types/gapi.client.parallelstore-v1beta --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://parallelstore.googleapis.com/$discovery/rest?version=v1beta',
  () => {
    // now we can use:
    // gapi.client.parallelstore
  },
);
```

```typescript
// 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('parallelstore', 'v1beta', () => {
  // now we can use:
  // gapi.client.parallelstore
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// 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 Parallelstore API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.parallelstore-v1beta#Provenance:~:text=none-,Provenance,-Built%20and%20signed)