open-index/open-npm huggingface dataset:
npm package: @maxim_mazurok/gapi.client.businessprofileperformance-v1
Description: TypeScript typings for Business Profile Performance API v1
Author: Maxim Mazurok
Latest version: 0.2.20260317

# TypeScript typings for Business Profile Performance API v1

The Business Profile Performance API allows merchants to fetch performance reports about their business profile on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.
For detailed description please check [documentation](https://developers.google.com/my-business/).

## Installing

Install typings for Business Profile Performance API:

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

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

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

```typescript
/*
 Returns the values for each date from a given time range and optionally the sub entity type, where applicable, that are associated with the specific daily metrics. Example request: `GET https://businessprofileperformance.googleapis.com/v1/locations/12345:fetchMultiDailyMetricsTimeSeries?dailyMetrics=WEBSITE_CLICKS&dailyMetrics=CALL_CLICKS&daily_range.start_date.year=2022&daily_range.start_date.month=1&daily_range.start_date.day=1&daily_range.end_date.year=2022&daily_range.end_date.month=3&daily_range.end_date.day=31`
*/
await gapi.client.businessprofileperformance.locations.fetchMultiDailyMetricsTimeSeries(
  {location: 'location'},
);

/*
 Returns the values for each date from a given time range that are associated with the specific daily metric. Example request: `GET https://businessprofileperformance.googleapis.com/v1/locations/12345:getDailyMetricsTimeSeries?dailyMetric=WEBSITE_CLICKS&daily_range.start_date.year=2022&daily_range.start_date.month=1&daily_range.start_date.day=1&daily_range.end_date.year=2022&daily_range.end_date.month=3&daily_range.end_date.day=31`
*/
await gapi.client.businessprofileperformance.locations.getDailyMetricsTimeSeries(
  {name: 'name'},
);
```

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

# TypeScript typings for Certificate Manager API v1


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

## Installing

Install typings for Certificate Manager API:

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

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

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

gapi.auth.authorize(
  { client_id: client_id, scope: scope, immediate: immediate },
  authResult => {
    if (authResult && !authResult.error) {
        /* handle successful authorization */
    } else {
        /* handle authorization error */
    }
});
```

After that you can use Certificate Manager API resources:

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

# TypeScript typings for Certificate Manager API v1

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

## Installing

Install typings for Certificate Manager API:

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

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

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

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

gapi.auth.authorize(
  {client_id: client_id, scope: scope, immediate: immediate},
  authResult => {
    if (authResult && !authResult.error) {
      /* handle successful authorization */
    } else {
      /* handle authorization error */
    }
  },
);
```

After that you can use Certificate Manager 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.certificatemanager-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.ces-v1
Description: TypeScript typings for Gemini Enterprise for Customer Experience API v1
Author: Maxim Mazurok
Latest version: 0.4.20260312

# TypeScript typings for Gemini Enterprise for Customer Experience API v1

For detailed description please check [documentation](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps).

## Installing

Install typings for Gemini Enterprise for Customer Experience API:

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

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

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 = [
    // Create, update, delete, and manage your Next Gen Agents
    'https://www.googleapis.com/auth/ces',

    // 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 Gemini Enterprise for Customer Experience 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.ces-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.ces-v1beta
Description: TypeScript typings for Gemini Enterprise for Customer Experience API v1beta
Author: Maxim Mazurok
Latest version: 0.4.20260312

# TypeScript typings for Gemini Enterprise for Customer Experience API v1beta

For detailed description please check [documentation](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps).

## Installing

Install typings for Gemini Enterprise for Customer Experience API:

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

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

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 = [
    // Create, update, delete, and manage your Next Gen Agents
    'https://www.googleapis.com/auth/ces',

    // 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 Gemini Enterprise for Customer Experience 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.ces-v1beta#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.chat
Description: TypeScript typings for Google Chat API v1
Author: Maxim Mazurok
Latest version: 1.0.20220805

# TypeScript typings for Google Chat API v1

Enables apps to fetch information and perform actions in Google Chat. Authentication is a prerequisite for using the Google Chat REST API.
For detailed description please check [documentation](https://developers.google.com/hangouts/chat).

## Installing

Install typings for Google Chat API:

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



After that you can use Google Chat API resources:

```typescript

/*
Legacy path for creating message. Calling these will result in a BadRequest response.
*/
await gapi.client.chat.dms.messages({ parent: "parent",  });

/*
Legacy path for creating message. Calling these will result in a BadRequest response.
*/
await gapi.client.chat.dms.webhooks({ parent: "parent",  });

/*
Downloads media. Download is supported on the URI `/v1/media/{+name}?alt=media`.
*/
await gapi.client.chat.media.download({ resourceName: "resourceName",  });

/*
Legacy path for creating message. Calling these will result in a BadRequest response.
*/
await gapi.client.chat.rooms.messages({ parent: "parent",  });

/*
Legacy path for creating message. Calling these will result in a BadRequest response.
*/
await gapi.client.chat.rooms.webhooks({ parent: "parent",  });

/*
Returns a space. Requires [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
*/
await gapi.client.chat.spaces.get({ name: "name",  });

/*
Lists spaces the caller is a member of. Requires [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
*/
await gapi.client.chat.spaces.list({  });

/*
Legacy path for creating message. Calling these will result in a BadRequest response.
*/
await gapi.client.chat.spaces.webhooks({ parent: "parent",  });
```
npm package: @maxim_mazurok/gapi.client.checks-v1alpha
Description: TypeScript typings for Checks API v1alpha
Author: Maxim Mazurok
Latest version: 0.1.20260317

# TypeScript typings for Checks API v1alpha

The Checks API contains powerful and easy-to-use privacy and compliance APIs that interact with the Checks product and its underlying technology.
For detailed description please check [documentation](https://developers.google.com/checks).

## Installing

Install typings for Checks API:

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

## Usage

You need to initialize Google API client in your code:

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

Then load api client wrapper:

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

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

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

````typescript

/*
Analyze a piece of content with the provided set of policies.
*/
await gapi.client.checks.aisafety.classifyContent({  });

/*
Analyzes the uploaded app bundle and returns a google.longrunning.Operation containing the generated Report. ## Example (upload only) Send a regular POST request with the header `X-Goog-Upload-Protocol: raw`. ``` POST https://checks.googleapis.com/upload/v1alpha/{parent=accounts/*/apps/*}/reports:analyzeUpload HTTP/1.1 X-Goog-Upload-Protocol: raw Content-Length: Content-Type: application/octet-stream ``` ## Example (upload with metadata) Send a multipart POST request where the first body part contains the metadata JSON and the second body part contains the binary upload. Include the header `X-Goog-Upload-Protocol: multipart`. ``` POST https://checks.googleapis.com/upload/v1alpha/{parent=accounts/*/apps/*}/reports:analyzeUpload HTTP/1.1 X-Goog-Upload-Protocol: multipart Content-Length: ? Content-Type: multipart/related; boundary=BOUNDARY --BOUNDARY Content-Type: application/json {"code_reference_id":"db5bcc20f94055fb5bc08cbb9b0e7a5530308786"} --BOUNDARY --BOUNDARY-- ``` *Note:* Metadata-only requests are not supported.
*/
await gapi.client.checks.media.upload({ parent: "parent",  });
````

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

# TypeScript typings for Chrome Management API v1

The Chrome Management API is a suite of services that allows Chrome administrators to view, manage and gain insights on their Chrome OS and Chrome Browser devices.
For detailed description please check [documentation](http://developers.google.com/chrome/management/).

## Installing

Install typings for Chrome Management API:

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

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 detailed information about apps installed on Chrome browsers and devices managed by your organization
      'https://www.googleapis.com/auth/chrome.management.appdetails.readonly',

      // See reports about devices and Chrome browsers managed within your organization
      'https://www.googleapis.com/auth/chrome.management.reports.readonly',

      // See basic device and telemetry information collected from Chrome OS devices or users managed within your organization
      'https://www.googleapis.com/auth/chrome.management.telemetry.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 Chrome Management API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.chromepolicy
Description: TypeScript typings for Chrome Policy API v1
Author: Maxim Mazurok
Latest version: 1.0.20220811

# TypeScript typings for Chrome Policy API v1

The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers.
For detailed description please check [documentation](http://developers.google.com/chrome/policy).

## Installing

Install typings for Chrome Policy API:

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

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 or delete policies applied to Chrome OS and Chrome Browsers managed within your organization
      'https://www.googleapis.com/auth/chrome.management.policy',

      // See policies applied to Chrome OS and Chrome Browsers managed within your organization
      'https://www.googleapis.com/auth/chrome.management.policy.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 Chrome Policy API resources:

```typescript

/*
Creates an enterprise file from the content provided by user. Returns a public download url for end user.
*/
await gapi.client.chromepolicy.media.upload({ customer: "customer",  });
```
npm package: @maxim_mazurok/gapi.client.chromepolicy-v1
Description: TypeScript typings for Chrome Policy API v1
Author: Maxim Mazurok
Latest version: 0.1.20260317

# TypeScript typings for Chrome Policy API v1

The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers.
For detailed description please check [documentation](http://developers.google.com/chrome/policy).

## Installing

Install typings for Chrome Policy API:

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

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

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 or delete policies applied to ChromeOS and Chrome Browsers managed within your organization
    'https://www.googleapis.com/auth/chrome.management.policy',

    // See policies applied to ChromeOS and Chrome Browsers managed within your organization
    'https://www.googleapis.com/auth/chrome.management.policy.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 Chrome Policy API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Creates an enterprise file from the content provided by user. Returns a public download url for end user.
*/
await gapi.client.chromepolicy.media.upload({customer: 'customer'});
```

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

# TypeScript typings for Chrome UX Report API v1

The Chrome UX Report API lets you view real user experience data for millions of websites. 
For detailed description please check [documentation](https://developers.google.com/web/tools/chrome-user-experience-report/api/reference).

## Installing

Install typings for Chrome UX Report API:

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



After that you can use Chrome UX Report API resources:

```typescript

/*
Queries the Chrome User Experience for a single `record` for a given site. Returns a `record` that contains one or more `metrics` corresponding to performance data about the requested site.
*/
await gapi.client.chromeuxreport.records.queryRecord({  });
```
npm package: @maxim_mazurok/gapi.client.chromeuxreport-v1
Description: TypeScript typings for Chrome UX Report API v1
Author: Maxim Mazurok
Latest version: 0.2.20260317

# TypeScript typings for Chrome UX Report API v1

The Chrome UX Report API lets you view real user experience data for millions of websites.
For detailed description please check [documentation](https://developers.google.com/web/tools/chrome-user-experience-report/api/reference).

## Installing

Install typings for Chrome UX Report API:

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

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

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

```typescript
/*
Queries the Chrome User Experience Report for a timeseries `history record` for a given site. Returns a `history record` that contains one or more `metric timeseries` corresponding to performance data about the requested site.
*/
await gapi.client.chromeuxreport.records.queryHistoryRecord({});

/*
Queries the Chrome User Experience for a single `record` for a given site. Returns a `record` that contains one or more `metrics` corresponding to performance data about the requested site.
*/
await gapi.client.chromeuxreport.records.queryRecord({});
```

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

# TypeScript typings for Chrome Web Store API v1.1

The Chrome Web Store API provides access to data about apps and extensions, as well as developer tools for managing them.
For detailed description please check [documentation](https://developer.chrome.com/docs/webstore/api).

## Installing

Install typings for Chrome Web Store API:

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

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

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, update, or publish your Chrome Web Store extensions, themes, apps, and licences you have access to
    'https://www.googleapis.com/auth/chromewebstore',

    // See and download your Chrome Web Store extensions and apps, and see licenses you have access to
    'https://www.googleapis.com/auth/chromewebstore.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 Chrome Web Store API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Gets your own Chrome Web Store item.
*/
await gapi.client.chromewebstore.items.get({itemId: 'itemId'});

/*
Inserts a new item.
*/
await gapi.client.chromewebstore.items.insert({});

/*
Publishes an item.
*/
await gapi.client.chromewebstore.items.publish({itemId: 'itemId'});

/*
Updates an existing item.
*/
await gapi.client.chromewebstore.items.update({itemId: 'itemId'});
```

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

# TypeScript typings for Chrome Web Store API v2

The Chrome Web Store API provides access to data about apps and extensions, as well as developer tools for managing them.
For detailed description please check [documentation](https://developer.chrome.com/docs/webstore/api).

## Installing

Install typings for Chrome Web Store API:

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

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

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, update, or publish your Chrome Web Store extensions, themes, apps, and licences you have access to
    'https://www.googleapis.com/auth/chromewebstore',

    // See and download your Chrome Web Store extensions and apps, and see licenses you have access to
    'https://www.googleapis.com/auth/chromewebstore.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 Chrome Web Store API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Upload a new package to an existing item.
*/
await gapi.client.chromewebstore.media.upload({name: 'name'});
```

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

# TypeScript typings for Google Civic Information API v2

Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.
For detailed description please check [documentation](https://developers.google.com/civic-information/).

## Installing

Install typings for Google Civic Information API:

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



After that you can use Google Civic Information API resources:

```typescript

/*
Searches for political divisions by their natural name or OCD ID.
*/
await gapi.client.civicinfo.divisions.search({  });

/*
List of available elections to query.
*/
await gapi.client.civicinfo.elections.electionQuery({  });

/*
Looks up information relevant to a voter based on the voter's registered address.
*/
await gapi.client.civicinfo.elections.voterInfoQuery({ address: "address",  });

/*
Looks up political geography and representative information for a single address.
*/
await gapi.client.civicinfo.representatives.representativeInfoByAddress({  });

/*
Looks up representative information for a single geographic division.
*/
await gapi.client.civicinfo.representatives.representativeInfoByDivision({ ocdId: "ocdId",  });
```
npm package: @maxim_mazurok/gapi.client.civicinfo-v2
Description: TypeScript typings for Google Civic Information API v2
Author: Maxim Mazurok
Latest version: 0.2.20260212

# TypeScript typings for Google Civic Information API v2

Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.
For detailed description please check [documentation](https://developers.google.com/civic-information/).

## Installing

Install typings for Google Civic Information API:

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

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

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

```typescript
/*
Lookup OCDIDs and names for divisions related to an address.
*/
await gapi.client.civicinfo.divisions.queryDivisionByAddress({});

/*
Searches for political divisions by their natural name or OCD ID.
*/
await gapi.client.civicinfo.divisions.search({});

/*
List of available elections to query.
*/
await gapi.client.civicinfo.elections.electionQuery({});

/*
Looks up information relevant to a voter based on the voter's registered address.
*/
await gapi.client.civicinfo.elections.voterInfoQuery({});
```

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

# TypeScript typings for Cloud Asset API v1p1beta1

The Cloud Asset API manages the history and inventory of Google Cloud resources.
For detailed description please check [documentation](https://cloud.google.com/asset-inventory/docs/quickstart).

## Installing

Install typings for Cloud Asset API:

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

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

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

```typescript
/*
Searches all the IAM policies within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the IAM policies within a scope, even if they don't have `.getIamPolicy` permission of all the IAM policies. Callers should have `cloudasset.assets.searchAllIamPolicies` permission on the requested scope, otherwise the request will be rejected.
*/
await gapi.client.cloudasset.iamPolicies.searchAll({scope: 'scope'});

/*
Searches all the resources within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the resources within a scope, even if they don't have `.get` permission of all the resources. Callers should have `cloudasset.assets.searchAllResources` permission on the requested scope, otherwise the request will be rejected.
*/
await gapi.client.cloudasset.resources.searchAll({scope: 'scope'});
```

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

# TypeScript typings for Cloud Asset API v1p5beta1

The Cloud Asset API manages the history and inventory of Google Cloud resources.
For detailed description please check [documentation](https://cloud.google.com/asset-inventory/docs/quickstart).

## Installing

Install typings for Cloud Asset API:

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

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

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

```typescript
/*
Lists assets with time and resource types and returns paged results in response.
*/
await gapi.client.cloudasset.assets.list({parent: 'parent'});
```

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

# TypeScript typings for Cloud Asset API v1p7beta1

The Cloud Asset API manages the history and inventory of Google Cloud resources.
For detailed description please check [documentation](https://cloud.google.com/asset-inventory/docs/quickstart).

## Installing

Install typings for Cloud Asset API:

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

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

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 Asset 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.cloudasset.operations.get({name: 'name'});

/*
Exports assets with time and resource types to a given Cloud Storage location/BigQuery table. For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line represents a google.cloud.asset.v1p7beta1.Asset in the JSON format; for BigQuery table destinations, the output table stores the fields in asset proto as columns. This API implements the google.longrunning.Operation API , which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.
*/
await gapi.client.cloudasset.exportAssets({parent: 'parent'});
```

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

# TypeScript typings for Cloud Billing API v1beta

Allows developers to manage billing for their Google Cloud Platform projects programmatically.
For detailed description please check [documentation](https://cloud.google.com/billing/docs/apis).

## Installing

Install typings for Cloud Billing API:

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

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

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 = [
    // View and manage your Google Cloud Platform billing accounts
    'https://www.googleapis.com/auth/cloud-billing',

    // View your Google Cloud Platform billing accounts
    'https://www.googleapis.com/auth/cloud-billing.readonly',

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

```typescript
/*
Gets a publicly listed SKU group.
*/
await gapi.client.cloudbilling.skuGroups.get({name: 'name'});

/*
Lists all publicly listed SKU groups.
*/
await gapi.client.cloudbilling.skuGroups.list({});
```

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