open-index/open-npm huggingface dataset:
npm package: @maxim_mazurok/gapi.client.firebasedataconnect-v1
Description: TypeScript typings for Firebase Data Connect API v1
Author: Maxim Mazurok
Latest version: 0.2.20260308

# TypeScript typings for Firebase Data Connect API v1

Firebase Data Connect is a relational database service for mobile and web apps that lets you build and scale using a fully-managed PostgreSQL database powered by Cloud SQL. The REST API lets developers manage the connections to their database, change the schema of their database, and query the database.
For detailed description please check [documentation](https://firebase.google.com/docs/data-connect).

## Installing

Install typings for Firebase Data Connect API:

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

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

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 Firebase Data Connect 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.firebasedataconnect-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.firebasedataconnect-v1beta
Description: TypeScript typings for Firebase Data Connect API v1beta
Author: Maxim Mazurok
Latest version: 0.2.20260308

# TypeScript typings for Firebase Data Connect API v1beta

Firebase Data Connect is a relational database service for mobile and web apps that lets you build and scale using a fully-managed PostgreSQL database powered by Cloud SQL. The REST API lets developers manage the connections to their database, change the schema of their database, and query the database.
For detailed description please check [documentation](https://firebase.google.com/docs/data-connect).

## Installing

Install typings for Firebase Data Connect API:

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

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

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 Firebase Data Connect 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.firebasedataconnect-v1beta#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.firebasehosting
Description: TypeScript typings for Firebase Hosting API v1
Author: Maxim Mazurok
Latest version: 1.0.20220809

# TypeScript typings for Firebase Hosting API v1

The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files.
For detailed description please check [documentation](https://firebase.google.com/docs/hosting/).

## Installing

Install typings for Firebase Hosting API:

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



After that you can use Firebase Hosting API resources:

```typescript

/*
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
*/
await gapi.client.firebasehosting.operations.cancel({ name: "name",  });

/*
Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
*/
await gapi.client.firebasehosting.operations.delete({ 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.firebasehosting.operations.list({ name: "name",  });
```
npm package: @maxim_mazurok/gapi.client.firebasehosting-v1beta1
Description: TypeScript typings for Firebase Hosting API v1beta1
Author: Maxim Mazurok
Latest version: 0.2.20260315

# TypeScript typings for Firebase Hosting API v1beta1

The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files.
For detailed description please check [documentation](https://firebase.google.com/docs/hosting/).

## Installing

Install typings for Firebase Hosting API:

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

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

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

```typescript
// declare client_id registered in Google Developers Console
var client_id = '',
  scope = [
    // See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
    'https://www.googleapis.com/auth/cloud-platform',

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

    // View and administer all your Firebase data and settings
    'https://www.googleapis.com/auth/firebase',

    // View all your Firebase data and settings
    'https://www.googleapis.com/auth/firebase.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 Firebase Hosting API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Gets the Hosting metadata for a specific site.
*/
await gapi.client.firebasehosting.sites.getConfig({name: 'name'});

/*
Sets the Hosting metadata for a specific site.
*/
await gapi.client.firebasehosting.sites.updateConfig({name: 'name'});
```

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

# TypeScript typings for Firebase ML API v1

Access custom machine learning models hosted via Firebase ML.
For detailed description please check [documentation](https://firebase.google.com).

## Installing

Install typings for Firebase ML API:

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

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 Firebase ML API resources:

```typescript

/*
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
*/
await gapi.client.firebaseml.operations.cancel({ name: "name",  });

/*
Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
*/
await gapi.client.firebaseml.operations.delete({ 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.firebaseml.operations.list({ name: "name",  });
```
npm package: @maxim_mazurok/gapi.client.firebaseml-v1beta2
Description: TypeScript typings for Firebase ML API v1beta2
Author: Maxim Mazurok
Latest version: 0.2.20260317

# TypeScript typings for Firebase ML API v1beta2

Access custom machine learning models hosted via Firebase ML.
For detailed description please check [documentation](https://firebase.google.com).

## Installing

Install typings for Firebase ML API:

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

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

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 Firebase ML 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.firebaseml-v1beta2#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.firebaseml-v2beta
Description: TypeScript typings for Firebase ML API v2beta
Author: Maxim Mazurok
Latest version: 0.2.20260317

# TypeScript typings for Firebase ML API v2beta

Access custom machine learning models hosted via Firebase ML.
For detailed description please check [documentation](https://firebase.google.com).

## Installing

Install typings for Firebase ML API:

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

## Usage

You need to initialize Google API client in your code:

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

Then load api client wrapper:

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

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

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 Firebase ML 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.firebaseml-v2beta#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.firebaserules
Description: TypeScript typings for Firebase Rules API v1
Author: Maxim Mazurok
Latest version: 1.0.20220712

# TypeScript typings for Firebase Rules API v1

Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request. 
For detailed description please check [documentation](https://firebase.google.com/docs/storage/security).

## Installing

Install typings for Firebase Rules API:

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

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 administer all your Firebase data and settings
      'https://www.googleapis.com/auth/firebase',

      // View all your Firebase data and settings
      'https://www.googleapis.com/auth/firebase.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 Firebase Rules API resources:

```typescript

/*
Test `Source` for syntactic and semantic correctness. Issues present, if any, will be returned to the caller with a description, severity, and source location. The test method may be executed with `Source` or a `Ruleset` name. Passing `Source` is useful for unit testing new rules. Passing a `Ruleset` name is useful for regression testing an existing rule. The following is an example of `Source` that permits users to upload images to a bucket bearing their user id and matching the correct metadata: _*Example*_ // Users are allowed to subscribe and unsubscribe to the blog. service firebase.storage { match /users/{userId}/images/{imageName} { allow write: if userId == request.auth.uid && (imageName.matches('*.png$') || imageName.matches('*.jpg$')) && resource.mimeType.matches('^image/') } }
*/
await gapi.client.firebaserules.projects.test({ name: "name",  });
```
npm package: @maxim_mazurok/gapi.client.firebasestorage
Description: TypeScript typings for Cloud Storage for Firebase API v1beta
Author: Maxim Mazurok
Latest version: 1.0.20220805

# TypeScript typings for Cloud Storage for Firebase API v1beta

The Cloud Storage for Firebase API enables programmatic management of Cloud Storage buckets for use in Firebase projects
For detailed description please check [documentation](https://firebase.google.com/docs/storage).

## Installing

Install typings for Cloud Storage for Firebase API:

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

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 administer all your Firebase data and settings
      'https://www.googleapis.com/auth/firebase',
    ],
    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 Storage for Firebase API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.firebasestorage-v1beta
Description: TypeScript typings for Cloud Storage for Firebase API v1beta
Author: Maxim Mazurok
Latest version: 0.2.20260313

# TypeScript typings for Cloud Storage for Firebase API v1beta

The Cloud Storage for Firebase API enables programmatic management of Cloud Storage buckets for use in Firebase projects
For detailed description please check [documentation](https://firebase.google.com/docs/storage).

## Installing

Install typings for Cloud Storage for Firebase API:

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

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

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 administer all your Firebase data and settings
    'https://www.googleapis.com/auth/firebase',
  ],
  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 Storage for Firebase API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Unlinks and deletes the default bucket.
*/
await gapi.client.firebasestorage.projects.deleteDefaultBucket({name: 'name'});

/*
Gets the default bucket.
*/
await gapi.client.firebasestorage.projects.getDefaultBucket({name: 'name'});
```

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

# TypeScript typings for Cloud Firestore API v1

Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. 
For detailed description please check [documentation](https://cloud.google.com/firestore).

## Installing

Install typings for Cloud Firestore API:

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

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 your Google Cloud Datastore data
      'https://www.googleapis.com/auth/datastore',
    ],
    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 Firestore API resources:

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

# TypeScript typings for Cloud Firestore API v1

Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.
For detailed description please check [documentation](https://cloud.google.com/firestore).

## Installing

Install typings for Cloud Firestore API:

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

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

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 your Google Cloud Datastore data
    'https://www.googleapis.com/auth/datastore',
  ],
  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 Firestore 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.firestore-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.firestore-v1beta1
Description: TypeScript typings for Cloud Firestore API v1beta1
Author: Maxim Mazurok
Latest version: 0.2.20260310

# TypeScript typings for Cloud Firestore API v1beta1

Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.
For detailed description please check [documentation](https://cloud.google.com/firestore).

## Installing

Install typings for Cloud Firestore API:

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

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

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 your Google Cloud Datastore data
    'https://www.googleapis.com/auth/datastore',
  ],
  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 Firestore 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.firestore-v1beta1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.firestore-v1beta2
Description: TypeScript typings for Cloud Firestore API v1beta2
Author: Maxim Mazurok
Latest version: 0.2.20260310

# TypeScript typings for Cloud Firestore API v1beta2

Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.
For detailed description please check [documentation](https://cloud.google.com/firestore).

## Installing

Install typings for Cloud Firestore API:

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

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

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 your Google Cloud Datastore data
    'https://www.googleapis.com/auth/datastore',
  ],
  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 Firestore 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.firestore-v1beta2#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.forms
Description: TypeScript typings for Google Forms API v1
Author: Maxim Mazurok
Latest version: 1.0.20220808

# TypeScript typings for Google Forms API v1

Reads and writes Google Forms and responses.
For detailed description please check [documentation](https://developers.google.com/forms/api).

## Installing

Install typings for Google Forms API:

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

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, create, and delete all of your Google Drive files
      'https://www.googleapis.com/auth/drive',

      // See, edit, create, and delete only the specific Google Drive files you use with this app
      'https://www.googleapis.com/auth/drive.file',

      // See and download all your Google Drive files
      'https://www.googleapis.com/auth/drive.readonly',

      // See, edit, create, and delete all your Google Forms forms
      'https://www.googleapis.com/auth/forms.body',

      // See all your Google Forms forms
      'https://www.googleapis.com/auth/forms.body.readonly',

      // See all responses to your Google Forms forms
      'https://www.googleapis.com/auth/forms.responses.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 Google Forms API resources:

```typescript

/*
Change the form with a batch of updates.
*/
await gapi.client.forms.forms.batchUpdate({ formId: "formId",  });

/*
Create a new form using the title given in the provided form message in the request. *Important:* Only the form.info.title and form.info.document_title fields are copied to the new form. All other fields including the form description, items and settings are disallowed. To create a new form and add items, you must first call forms.create to create an empty form with a title and (optional) document title, and then call forms.update to add the items.
*/
await gapi.client.forms.forms.create({  });

/*
Get a form.
*/
await gapi.client.forms.forms.get({ formId: "formId",  });
```
npm package: @maxim_mazurok/gapi.client.gameservices
Description: TypeScript typings for Game Services API v1
Author: Maxim Mazurok
Latest version: 1.0.20220804

# TypeScript typings for Game Services API v1

Deploy and manage infrastructure for global multiplayer gaming experiences.
For detailed description please check [documentation](https://cloud.google.com/solutions/gaming/).

## Installing

Install typings for Game Services API:

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

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 Game Services API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.gameservices-v1
Description: TypeScript typings for Game Services API v1
Author: Maxim Mazurok
Latest version: 0.0.20230706

# TypeScript typings for Game Services API v1

Deploy and manage infrastructure for global multiplayer gaming experiences.
For detailed description please check [documentation](https://cloud.google.com/solutions/gaming/).

## Installing

Install typings for Game Services API:

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

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

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

```typescript
```
npm package: @maxim_mazurok/gapi.client.gameservices-v1beta
Description: TypeScript typings for Game Services API v1beta
Author: Maxim Mazurok
Latest version: 0.0.20230706

# TypeScript typings for Game Services API v1beta

Deploy and manage infrastructure for global multiplayer gaming experiences.
For detailed description please check [documentation](https://cloud.google.com/solutions/gaming/).

## Installing

Install typings for Game Services API:

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

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

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

```typescript
```
npm package: @maxim_mazurok/gapi.client.genomics
Description: TypeScript typings for Genomics API v2alpha1
Author: Maxim Mazurok
Latest version: 2.0.20220801

# TypeScript typings for Genomics API v2alpha1

Uploads, processes, queries, and searches Genomics data in the cloud.
For detailed description please check [documentation](https://cloud.google.com/genomics).

## Installing

Install typings for Genomics API:

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

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 Genomics data
      'https://www.googleapis.com/auth/genomics',
    ],
    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 Genomics API resources:

```typescript

/*
Runs a pipeline. The returned Operation's metadata field will contain a google.genomics.v2alpha1.Metadata object describing the status of the pipeline execution. The [response] field will contain a google.genomics.v2alpha1.RunPipelineResponse object if the pipeline completes successfully. **Note:** Before you can use this method, the Genomics Service Agent must have access to your project. This is done automatically when the Cloud Genomics API is first enabled, but if you delete this permission, or if you enabled the Cloud Genomics API before the v2alpha1 API launch, you must disable and re-enable the API to grant the Genomics Service Agent the required permissions. Authorization requires the following [Google IAM](https://cloud.google.com/iam/) permission: * `genomics.operations.create` [1]: /genomics/gsa
*/
await gapi.client.genomics.pipelines.run({  });

/*
The worker uses this method to retrieve the assigned operation and provide periodic status updates.
*/
await gapi.client.genomics.workers.checkIn({ id: "id",  });
```
npm package: @maxim_mazurok/gapi.client.genomics-v2alpha1
Description: TypeScript typings for Genomics API v2alpha1
Author: Maxim Mazurok
Latest version: 0.0.20230619

# TypeScript typings for Genomics API v2alpha1

Uploads, processes, queries, and searches Genomics data in the cloud.
For detailed description please check [documentation](https://cloud.google.com/genomics).

## Installing

Install typings for Genomics API:

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

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

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 Genomics data
      'https://www.googleapis.com/auth/genomics',
    ],
    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 Genomics API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

/*
Runs a pipeline. The returned Operation's metadata field will contain a google.genomics.v2alpha1.Metadata object describing the status of the pipeline execution. The [response] field will contain a google.genomics.v2alpha1.RunPipelineResponse object if the pipeline completes successfully. **Note:** Before you can use this method, the Genomics Service Agent must have access to your project. This is done automatically when the Cloud Genomics API is first enabled, but if you delete this permission, or if you enabled the Cloud Genomics API before the v2alpha1 API launch, you must disable and re-enable the API to grant the Genomics Service Agent the required permissions. Authorization requires the following [Google IAM](https://cloud.google.com/iam/) permission: * `genomics.operations.create` [1]: /genomics/gsa
*/
await gapi.client.genomics.pipelines.run({  });

/*
The worker uses this method to retrieve the assigned operation and provide periodic status updates.
*/
await gapi.client.genomics.workers.checkIn({ id: "id",  });
```