open-index/open-npm huggingface dataset:
npm package: @maxim_mazurok/gapi.client.spanner-v1
Description: TypeScript typings for Cloud Spanner API v1
Author: Maxim Mazurok
Latest version: 0.38.20260218

# TypeScript typings for Cloud Spanner API v1

Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.
For detailed description please check [documentation](https://cloud.google.com/spanner/).

## Installing

Install typings for Cloud Spanner API:

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

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

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',

    // Administer your Spanner databases
    'https://www.googleapis.com/auth/spanner.admin',

    // See, edit, configure, and delete your Google Cloud Spanner data and see the email address for your Google Account
    'https://www.googleapis.com/auth/spanner.data',
  ],
  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 Spanner API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Return available scans given a Database-specific resource name.
*/
await gapi.client.spanner.scans.list({parent: 'parent'});
```

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

# TypeScript typings for Cloud Speech-to-Text API v1

Converts audio to text by applying powerful neural network models.
For detailed description please check [documentation](https://cloud.google.com/speech-to-text/docs/quickstart-protocol).

## Installing

Install typings for Cloud Speech-to-Text API:

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

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 Cloud Speech-to-Text API resources:

```typescript

/*
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
*/
await gapi.client.speech.operations.get({ name: "name",  });

/*
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
*/
await gapi.client.speech.operations.list({  });

/*
Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface. Returns either an `Operation.error` or an `Operation.response` which contains a `LongRunningRecognizeResponse` message. For more information on asynchronous speech recognition, see the [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
*/
await gapi.client.speech.speech.longrunningrecognize({  });

/*
Performs synchronous speech recognition: receive results after all audio has been sent and processed.
*/
await gapi.client.speech.speech.recognize({  });
```
npm package: @maxim_mazurok/gapi.client.speech-v1
Description: TypeScript typings for Cloud Speech-to-Text API v1
Author: Maxim Mazurok
Latest version: 0.2.20260312

# TypeScript typings for Cloud Speech-to-Text API v1

Converts audio to text by applying powerful neural network models.
For detailed description please check [documentation](https://cloud.google.com/speech-to-text/docs/quickstart-protocol).

## Installing

Install typings for Cloud Speech-to-Text API:

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

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

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 Cloud Speech-to-Text API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
*/
await gapi.client.speech.operations.get({name: 'name'});

/*
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
*/
await gapi.client.speech.operations.list({});

/*
Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface. Returns either an `Operation.error` or an `Operation.response` which contains a `LongRunningRecognizeResponse` message. For more information on asynchronous speech recognition, see the [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
*/
await gapi.client.speech.speech.longrunningrecognize({});

/*
Performs synchronous speech recognition: receive results after all audio has been sent and processed.
*/
await gapi.client.speech.speech.recognize({});
```

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

# TypeScript typings for Cloud Speech-to-Text API v1p1beta1

Converts audio to text by applying powerful neural network models.
For detailed description please check [documentation](https://cloud.google.com/speech-to-text/docs/quickstart-protocol).

## Installing

Install typings for Cloud Speech-to-Text API:

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

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

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 Cloud Speech-to-Text API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
*/
await gapi.client.speech.operations.get({name: 'name'});

/*
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
*/
await gapi.client.speech.operations.list({});

/*
Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface. Returns either an `Operation.error` or an `Operation.response` which contains a `LongRunningRecognizeResponse` message. For more information on asynchronous speech recognition, see the [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
*/
await gapi.client.speech.speech.longrunningrecognize({});

/*
Performs synchronous speech recognition: receive results after all audio has been sent and processed.
*/
await gapi.client.speech.speech.recognize({});
```

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

# TypeScript typings for Storage Batch Operations API v1

For detailed description please check [documentation](https://cloud.google.com/storage/docs/batch-operations/overview).

## Installing

Install typings for Storage Batch Operations API:

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

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

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 Storage Batch Operations 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.storagebatchoperations-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.sts
Description: TypeScript typings for Security Token Service API v1
Author: Maxim Mazurok
Latest version: 1.0.20220806

# TypeScript typings for Security Token Service API v1

The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.
For detailed description please check [documentation](http://cloud.google.com/iam/docs/workload-identity-federation).

## Installing

Install typings for Security Token Service API:

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



After that you can use Security Token Service API resources:

```typescript

/*
Gets information about a Google OAuth 2.0 access token issued by the Google Cloud [Security Token Service API](https://cloud.google.com/iam/docs/reference/sts/rest).
*/
await gapi.client.sts.v1.introspect({  });

/*
Exchanges a credential for a Google OAuth 2.0 access token. The token asserts an external identity within an identity pool, or it applies a Credential Access Boundary to a Google access token. When you call this method, do not send the `Authorization` HTTP header in the request. This method does not require the `Authorization` header, and using the header can cause the request to fail.
*/
await gapi.client.sts.v1.token({  });
```
npm package: @maxim_mazurok/gapi.client.sts-v1
Description: TypeScript typings for Security Token Service API v1
Author: Maxim Mazurok
Latest version: 0.1.20260311

# TypeScript typings for Security Token Service API v1

The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.
For detailed description please check [documentation](http://cloud.google.com/iam/docs/workload-identity-federation).

## Installing

Install typings for Security Token Service API:

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

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

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

```typescript
/*
Exchanges a credential for a Google OAuth 2.0 access token. The token asserts an external identity within an identity pool, or it applies a Credential Access Boundary to a Google access token. Note that workforce pools do not support Credential Access Boundaries. When you call this method, do not send the `Authorization` HTTP header in the request. This method does not require the `Authorization` header, and using the header can cause the request to fail.
*/
await gapi.client.sts.token({});
```

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

# TypeScript typings for Security Token Service API v1beta

The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.
For detailed description please check [documentation](http://cloud.google.com/iam/docs/workload-identity-federation).

## Installing

Install typings for Security Token Service API:

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

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

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

```typescript
/*
Exchanges a credential for a Google OAuth 2.0 access token. The token asserts an external identity within a workload identity pool, or it applies a Credential Access Boundary to a Google access token. When you call this method, do not send the `Authorization` HTTP header in the request. This method does not require the `Authorization` header, and using the header can cause the request to fail.
*/
await gapi.client.sts.token({});
```

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

# TypeScript typings for Tag Manager API v2

This API allows clients to access and modify container and tag configuration.
For detailed description please check [documentation](https://developers.google.com/tag-manager).

## Installing

Install typings for Tag Manager API:

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

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 = [ 
      // Delete your Google Tag Manager containers
      'https://www.googleapis.com/auth/tagmanager.delete.containers',

      // Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing
      'https://www.googleapis.com/auth/tagmanager.edit.containers',

      // Manage your Google Tag Manager container versions
      'https://www.googleapis.com/auth/tagmanager.edit.containerversions',

      // View and manage your Google Tag Manager accounts
      'https://www.googleapis.com/auth/tagmanager.manage.accounts',

      // Manage user permissions of your Google Tag Manager account and container
      'https://www.googleapis.com/auth/tagmanager.manage.users',

      // Publish your Google Tag Manager container versions
      'https://www.googleapis.com/auth/tagmanager.publish',

      // View your Google Tag Manager container and its subcomponents
      'https://www.googleapis.com/auth/tagmanager.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 Tag Manager API resources:

```typescript

/*
Gets a GTM Account.
*/
await gapi.client.tagmanager.accounts.get({ path: "path",  });

/*
Lists all GTM Accounts that a user has access to.
*/
await gapi.client.tagmanager.accounts.list({  });

/*
Updates a GTM Account.
*/
await gapi.client.tagmanager.accounts.update({ path: "path",  });
```
npm package: @maxim_mazurok/gapi.client.tagmanager-v1
Description: TypeScript typings for Tag Manager API v1
Author: Maxim Mazurok
Latest version: 0.2.20260316

# TypeScript typings for Tag Manager API v1

This API allows clients to access and modify container and tag configuration.
For detailed description please check [documentation](https://developers.google.com/tag-manager).

## Installing

Install typings for Tag Manager API:

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

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

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 = [
    // Delete your Google Tag Manager containers
    'https://www.googleapis.com/auth/tagmanager.delete.containers',

    // Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing
    'https://www.googleapis.com/auth/tagmanager.edit.containers',

    // Manage your Google Tag Manager container versions
    'https://www.googleapis.com/auth/tagmanager.edit.containerversions',

    // View and manage your Google Tag Manager accounts
    'https://www.googleapis.com/auth/tagmanager.manage.accounts',

    // Manage user permissions of your Google Tag Manager account and container
    'https://www.googleapis.com/auth/tagmanager.manage.users',

    // Publish your Google Tag Manager container versions
    'https://www.googleapis.com/auth/tagmanager.publish',

    // View your Google Tag Manager container and its subcomponents
    'https://www.googleapis.com/auth/tagmanager.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 Tag Manager API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Gets a GTM Account.
*/
await gapi.client.tagmanager.accounts.get({accountId: 'accountId'});

/*
Lists all GTM Accounts that a user has access to.
*/
await gapi.client.tagmanager.accounts.list({});

/*
Updates a GTM Account.
*/
await gapi.client.tagmanager.accounts.update({accountId: 'accountId'});
```

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

# TypeScript typings for Tag Manager API v2

This API allows clients to access and modify container and tag configuration.
For detailed description please check [documentation](https://developers.google.com/tag-manager).

## Installing

Install typings for Tag Manager API:

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

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

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 = [
    // Delete your Google Tag Manager containers
    'https://www.googleapis.com/auth/tagmanager.delete.containers',

    // Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing
    'https://www.googleapis.com/auth/tagmanager.edit.containers',

    // Manage your Google Tag Manager container versions
    'https://www.googleapis.com/auth/tagmanager.edit.containerversions',

    // View and manage your Google Tag Manager accounts
    'https://www.googleapis.com/auth/tagmanager.manage.accounts',

    // Manage user permissions of your Google Tag Manager account and container
    'https://www.googleapis.com/auth/tagmanager.manage.users',

    // Publish your Google Tag Manager container versions
    'https://www.googleapis.com/auth/tagmanager.publish',

    // View your Google Tag Manager container and its subcomponents
    'https://www.googleapis.com/auth/tagmanager.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 Tag Manager API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Gets a GTM Account.
*/
await gapi.client.tagmanager.accounts.get({path: 'path'});

/*
Lists all GTM Accounts that a user has access to.
*/
await gapi.client.tagmanager.accounts.list({});

/*
Updates a GTM Account.
*/
await gapi.client.tagmanager.accounts.update({path: 'path'});
```

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

# TypeScript typings for Cloud Testing API v1

Allows developers to run automated tests for their mobile applications on Google infrastructure.
For detailed description please check [documentation](https://developers.google.com/cloud-test-lab/).

## Installing

Install typings for Cloud Testing API:

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

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',
    ],
    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 Testing API resources:

```typescript

/*
Gets the details of an Android application APK.
*/
await gapi.client.testing.applicationDetailService.getApkDetails({  });

/*
Gets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not exist - INTERNAL - if an internal error occurred
*/
await gapi.client.testing.testEnvironmentCatalog.get({ environmentType: "environmentType",  });
```
npm package: @maxim_mazurok/gapi.client.testing-v1
Description: TypeScript typings for Cloud Testing API v1
Author: Maxim Mazurok
Latest version: 0.2.20260313

# TypeScript typings for Cloud Testing API v1

Allows developers to run automated tests for their mobile applications on Google infrastructure.
For detailed description please check [documentation](https://firebase.google.com/docs/test-lab/).

## Installing

Install typings for Cloud Testing API:

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

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

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',
  ],
  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 Testing API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Gets the details of an Android application APK.
*/
await gapi.client.testing.applicationDetailService.getApkDetails({});

/*
Gets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not exist - INTERNAL - if an internal error occurred
*/
await gapi.client.testing.testEnvironmentCatalog.get({
  environmentType: 'environmentType',
});
```

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

# TypeScript typings for Cloud Text-to-Speech API v1

Synthesizes natural-sounding speech by applying powerful neural network models.
For detailed description please check [documentation](https://cloud.google.com/text-to-speech/).

## Installing

Install typings for Cloud Text-to-Speech API:

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

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 Cloud Text-to-Speech API resources:

```typescript

/*
Synthesizes speech synchronously: receive results after all text input has been processed.
*/
await gapi.client.texttospeech.text.synthesize({  });

/*
Returns a list of Voice supported for synthesis.
*/
await gapi.client.texttospeech.voices.list({  });
```
npm package: @maxim_mazurok/gapi.client.texttospeech-v1beta1
Description: TypeScript typings for Cloud Text-to-Speech API v1beta1
Author: Maxim Mazurok
Latest version: 0.2.20260312

# TypeScript typings for Cloud Text-to-Speech API v1beta1

Synthesizes natural-sounding speech by applying powerful neural network models.
For detailed description please check [documentation](https://cloud.google.com/text-to-speech/).

## Installing

Install typings for Cloud Text-to-Speech API:

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

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

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 Cloud Text-to-Speech API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Synthesizes speech synchronously: receive results after all text input has been processed.
*/
await gapi.client.texttospeech.text.synthesize({});

/*
Returns a list of Voice supported for synthesis.
*/
await gapi.client.texttospeech.voices.list({});
```

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

# TypeScript typings for Threat Intelligence API v1beta

threatintelligence.googleapis.com API.
For detailed description please check [documentation](https://docs.cloud.google.com/threatintelligence/).

## Installing

Install typings for Threat Intelligence API:

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

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

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

```typescript
/*
Triggers the generation of a Customer Profile for a project.
*/
await gapi.client.threatintelligence.projects.generateOrgProfile({
  name: 'name',
});
```

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

# TypeScript typings for Cloud TPU API v1

TPU API provides customers with access to Google TPU technology.
For detailed description please check [documentation](https://cloud.google.com/tpu/).

## Installing

Install typings for Cloud TPU API:

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

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

```typescript
```
npm package: @maxim_mazurok/gapi.client.tpu-v1
Description: TypeScript typings for Cloud TPU API v1
Author: Maxim Mazurok
Latest version: 0.2.20260127

# TypeScript typings for Cloud TPU API v1

TPU API provides customers with access to Google TPU technology.
For detailed description please check [documentation](https://cloud.google.com/tpu/).

## Installing

Install typings for Cloud TPU API:

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

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

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

# TypeScript typings for Cloud TPU API v1alpha1

TPU API provides customers with access to Google TPU technology.
For detailed description please check [documentation](https://cloud.google.com/tpu/).

## Installing

Install typings for Cloud TPU API:

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

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

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 Cloud TPU 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.tpu-v1alpha1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.tpu-v2
Description: TypeScript typings for Cloud TPU API v2
Author: Maxim Mazurok
Latest version: 0.2.20260127

# TypeScript typings for Cloud TPU API v2

TPU API provides customers with access to Google TPU technology.
For detailed description please check [documentation](https://cloud.google.com/tpu/).

## Installing

Install typings for Cloud TPU API:

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

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

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 Cloud TPU 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.tpu-v2#Provenance:~:text=none-,Provenance,-Built%20and%20signed)