open-index/open-npm huggingface dataset:
npm package: @maxim_mazurok/gapi.client.policytroubleshooter-v3
Description: TypeScript typings for Policy Troubleshooter API v3
Author: Maxim Mazurok
Latest version: 0.1.20260308

# TypeScript typings for Policy Troubleshooter API v3

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

## Installing

Install typings for Policy Troubleshooter API:

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

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

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

```typescript
/*
Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or doesn't have that permission.
*/
await gapi.client.policytroubleshooter.iam.troubleshoot({});
```

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

# TypeScript typings for Policy Troubleshooter API v3beta

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

## Installing

Install typings for Policy Troubleshooter API:

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

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

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

```typescript
/*
Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or doesn't have that permission.
*/
await gapi.client.policytroubleshooter.iam.troubleshoot({});
```

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

# TypeScript typings for Pollen API v1

The Pollen API.
For detailed description please check [documentation](https://developers.google.com/maps/documentation/pollen).

## Installing

Install typings for Pollen API:

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

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

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 Pollen API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Returns up to 5 days of daily pollen information in more than 65 countries, up to 1km resolution.
*/
await gapi.client.pollen.forecast.lookup({});
```

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

# TypeScript typings for Poly API v1

The Poly API provides read access to assets hosted on poly.google.com to all, and upload access to poly.google.com for whitelisted accounts. 
For detailed description please check [documentation](https://developers.google.com/poly/).

## Installing

Install typings for Poly API:

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



After that you can use Poly API resources:

```typescript

/*
Returns detailed information about an asset given its name. PRIVATE assets are returned only if the currently authenticated user (via OAuth token) is the author of the asset.
*/
await gapi.client.poly.assets.get({ name: "name",  });

/*
Lists all public, remixable assets. These are assets with an access level of PUBLIC and published under the CC-By license.
*/
await gapi.client.poly.assets.list({  });
```
npm package: @maxim_mazurok/gapi.client.poly-v1
Description: TypeScript typings for Poly API v1
Author: Maxim Mazurok
Latest version: 0.0.20230206

# TypeScript typings for Poly API v1

The Poly API provides read access to assets hosted on poly.google.com to all, and upload access to poly.google.com for whitelisted accounts. 
For detailed description please check [documentation](https://developers.google.com/poly/).

## Installing

Install typings for Poly API:

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

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



After that you can use Poly API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

/*
Returns detailed information about an asset given its name. PRIVATE assets are returned only if the currently authenticated user (via OAuth token) is the author of the asset.
*/
await gapi.client.poly.assets.get({ name: "name",  });

/*
Lists all public, remixable assets. These are assets with an access level of PUBLIC and published under the CC-By license.
*/
await gapi.client.poly.assets.list({  });
```
npm package: @maxim_mazurok/gapi.client.privateca
Description: TypeScript typings for Certificate Authority API v1
Author: Maxim Mazurok
Latest version: 1.0.20220804

# TypeScript typings for Certificate Authority API v1

The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys. 
For detailed description please check [documentation](https://cloud.google.com/).

## Installing

Install typings for Certificate Authority API:

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

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 Certificate Authority API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.privateca-v1
Description: TypeScript typings for Certificate Authority API v1
Author: Maxim Mazurok
Latest version: 0.2.20260304

# TypeScript typings for Certificate Authority API v1

The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys.
For detailed description please check [documentation](https://cloud.google.com/).

## Installing

Install typings for Certificate Authority API:

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

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

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 Certificate Authority 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.privateca-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.privateca-v1beta1
Description: TypeScript typings for Certificate Authority API v1beta1
Author: Maxim Mazurok
Latest version: 0.2.20260304

# TypeScript typings for Certificate Authority API v1beta1

The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys.
For detailed description please check [documentation](https://cloud.google.com/).

## Installing

Install typings for Certificate Authority API:

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

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

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 Certificate Authority 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.privateca-v1beta1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.prod_tt_sasportal
Description: TypeScript typings for SAS Portal API (Testing) v1alpha1
Author: Maxim Mazurok
Latest version: 1.0.20220811

# TypeScript typings for SAS Portal API (Testing) v1alpha1


For detailed description please check [documentation](https://developers.google.com/spectrum-access-system/).

## Installing

Install typings for SAS Portal API (Testing):

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

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 = [ 
      // Read, create, update, and delete your SAS Portal data.
      'https://www.googleapis.com/auth/sasportal',

      // See your primary Google Account email address
      'https://www.googleapis.com/auth/userinfo.email',
    ],
    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 SAS Portal API (Testing) resources:

```typescript

/*
Returns a requested customer.
*/
await gapi.client.prod_tt_sasportal.customers.get({ name: "name",  });

/*
Returns a list of requested customers.
*/
await gapi.client.prod_tt_sasportal.customers.list({  });

/*
Updates an existing customer.
*/
await gapi.client.prod_tt_sasportal.customers.patch({ name: "name",  });

/*
Returns a requested deployment.
*/
await gapi.client.prod_tt_sasportal.deployments.get({ name: "name",  });

/*
Generates a secret to be used with the ValidateInstaller.
*/
await gapi.client.prod_tt_sasportal.installer.generateSecret({  });

/*
Validates the identity of a Certified Professional Installer (CPI).
*/
await gapi.client.prod_tt_sasportal.installer.validate({  });

/*
Returns a requested node.
*/
await gapi.client.prod_tt_sasportal.nodes.get({ name: "name",  });

/*
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
*/
await gapi.client.prod_tt_sasportal.policies.get({  });

/*
Sets the access control policy on the specified resource. Replaces any existing policy.
*/
await gapi.client.prod_tt_sasportal.policies.set({  });

/*
Returns permissions that a caller has on the specified resource.
*/
await gapi.client.prod_tt_sasportal.policies.test({  });
```
npm package: @maxim_mazurok/gapi.client.publicca-v1
Description: TypeScript typings for Public Certificate Authority API v1
Author: Maxim Mazurok
Latest version: 0.2.20260315

# TypeScript typings for Public Certificate Authority API v1

The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority.
For detailed description please check [documentation](https://cloud.google.com/public-certificate-authority/docs).

## Installing

Install typings for Public Certificate Authority API:

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

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

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 Public Certificate Authority 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.publicca-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.publicca-v1alpha1
Description: TypeScript typings for Public Certificate Authority API v1alpha1
Author: Maxim Mazurok
Latest version: 0.2.20260315

# TypeScript typings for Public Certificate Authority API v1alpha1

The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority.
For detailed description please check [documentation](https://cloud.google.com/public-certificate-authority/docs).

## Installing

Install typings for Public Certificate Authority API:

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

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

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 Public Certificate Authority 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.publicca-v1alpha1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.publicca-v1beta1
Description: TypeScript typings for Public Certificate Authority API v1beta1
Author: Maxim Mazurok
Latest version: 0.2.20260315

# TypeScript typings for Public Certificate Authority API v1beta1

The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority.
For detailed description please check [documentation](https://cloud.google.com/public-certificate-authority/docs).

## Installing

Install typings for Public Certificate Authority API:

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

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

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 Public Certificate Authority 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.publicca-v1beta1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.pubsub
Description: TypeScript typings for Cloud Pub/Sub API v1
Author: Maxim Mazurok
Latest version: 1.0.20220729

# TypeScript typings for Cloud Pub/Sub API v1

Provides reliable, many-to-many, asynchronous messaging between applications. 
For detailed description please check [documentation](https://cloud.google.com/pubsub/docs).

## Installing

Install typings for Cloud Pub/Sub API:

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

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 and manage Pub/Sub topics and subscriptions
      'https://www.googleapis.com/auth/pubsub',
    ],
    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 Pub/Sub API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.pubsub-v1
Description: TypeScript typings for Cloud Pub/Sub API v1
Author: Maxim Mazurok
Latest version: 0.1.20260310

# TypeScript typings for Cloud Pub/Sub API v1

Provides reliable, many-to-many, asynchronous messaging between applications.
For detailed description please check [documentation](https://cloud.google.com/pubsub/docs).

## Installing

Install typings for Cloud Pub/Sub API:

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

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

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 and manage Pub/Sub topics and subscriptions
    'https://www.googleapis.com/auth/pubsub',
  ],
  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 Pub/Sub 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.pubsub-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.pubsub-v1beta2
Description: TypeScript typings for Cloud Pub/Sub API v1beta2
Author: Maxim Mazurok
Latest version: 0.1.20260310

# TypeScript typings for Cloud Pub/Sub API v1beta2

Provides reliable, many-to-many, asynchronous messaging between applications.
For detailed description please check [documentation](https://cloud.google.com/pubsub/docs).

## Installing

Install typings for Cloud Pub/Sub API:

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

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

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 and manage Pub/Sub topics and subscriptions
    'https://www.googleapis.com/auth/pubsub',
  ],
  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 Pub/Sub 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.pubsub-v1beta2#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.pubsublite
Description: TypeScript typings for Pub/Sub Lite API v1
Author: Maxim Mazurok
Latest version: 1.0.20220806

# TypeScript typings for Pub/Sub Lite API v1


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

## Installing

Install typings for Pub/Sub Lite API:

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

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 Pub/Sub Lite API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.pubsublite-v1
Description: TypeScript typings for Pub/Sub Lite API v1
Author: Maxim Mazurok
Latest version: 0.2.20260307

# TypeScript typings for Pub/Sub Lite API v1

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

## Installing

Install typings for Pub/Sub Lite API:

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

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

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 Pub/Sub Lite 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.pubsublite-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.rapidmigrationassessment-v1
Description: TypeScript typings for Rapid Migration Assessment API v1
Author: Maxim Mazurok
Latest version: 0.2.20250718

# TypeScript typings for Rapid Migration Assessment API v1

The Rapid Migration Assessment service is our first-party migration assessment and planning tool.
For detailed description please check [documentation](https://cloud.google.com/migration-center).

## Installing

Install typings for Rapid Migration Assessment API:

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

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

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 Rapid Migration Assessment 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.rapidmigrationassessment-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.readerrevenuesubscriptionlinking-v1
Description: TypeScript typings for Reader Revenue Subscription Linking API v1
Author: Maxim Mazurok
Latest version: 0.2.20260317

# TypeScript typings for Reader Revenue Subscription Linking API v1

readerrevenuesubscriptionlinking.googleapis.com API.
For detailed description please check [documentation](https://developers.google.com/news/subscribe/subscription-linking/overview).

## Installing

Install typings for Reader Revenue Subscription Linking API:

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

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

After that you can use Reader Revenue Subscription Linking 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.readerrevenuesubscriptionlinking-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.realtimebidding
Description: TypeScript typings for Real-time Bidding API v1
Author: Maxim Mazurok
Latest version: 1.0.20220811

# TypeScript typings for Real-time Bidding API v1

Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.
For detailed description please check [documentation](https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/).

## Installing

Install typings for Real-time Bidding API:

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

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, create, edit, and delete your Authorized Buyers and Open Bidding account entities
      'https://www.googleapis.com/auth/realtime-bidding',
    ],
    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 Real-time Bidding API resources:

```typescript

/*
Gets a bidder account by its name.
*/
await gapi.client.realtimebidding.bidders.get({ name: "name",  });

/*
Lists all the bidder accounts that belong to the caller.
*/
await gapi.client.realtimebidding.bidders.list({  });

/*
Gets a buyer account by its name.
*/
await gapi.client.realtimebidding.buyers.get({ name: "name",  });

/*
Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list.
*/
await gapi.client.realtimebidding.buyers.getRemarketingTag({ name: "name",  });

/*
Lists all buyer account information the calling buyer user or service account is permissioned to manage.
*/
await gapi.client.realtimebidding.buyers.list({  });
```
npm package: @maxim_mazurok/gapi.client.realtimebidding-v1alpha
Description: TypeScript typings for Real-time Bidding API v1alpha
Author: Maxim Mazurok
Latest version: 0.0.20230606

# TypeScript typings for Real-time Bidding API v1alpha

Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.
For detailed description please check [documentation](https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/).

## Installing

Install typings for Real-time Bidding API:

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

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

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, create, edit, and delete your Authorized Buyers and Open Bidding account entities
      'https://www.googleapis.com/auth/realtime-bidding',
    ],
    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 Real-time Bidding API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
```
npm package: @maxim_mazurok/gapi.client.recaptchaenterprise
Description: TypeScript typings for reCAPTCHA Enterprise API v1
Author: Maxim Mazurok
Latest version: 1.0.20220806

# TypeScript typings for reCAPTCHA Enterprise API v1


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

## Installing

Install typings for reCAPTCHA Enterprise API:

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

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 reCAPTCHA Enterprise API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.recaptchaenterprise-v1
Description: TypeScript typings for reCAPTCHA Enterprise API v1
Author: Maxim Mazurok
Latest version: 0.2.20260310

# TypeScript typings for reCAPTCHA Enterprise API v1

Help protect your website from fraudulent activity, spam, and abuse without creating friction.
For detailed description please check [documentation](https://cloud.google.com/recaptcha-enterprise/).

## Installing

Install typings for reCAPTCHA Enterprise API:

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

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

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 reCAPTCHA Enterprise 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.recaptchaenterprise-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)