open-index/open-npm huggingface dataset:
npm package: @maxim_mazurok/gapi.client.recommendationengine
Description: TypeScript typings for Recommendations AI (Beta) v1beta1
Author: Maxim Mazurok
Latest version: 1.0.20220804

# TypeScript typings for Recommendations AI (Beta) v1beta1

Note that we now highly recommend new customers to use Retail API, which incorporates the GA version of the Recommendations AI funtionalities. To enable Retail API, please visit https://console.cloud.google.com/apis/library/retail.googleapis.com. The Recommendations AI service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.
For detailed description please check [documentation](https://cloud.google.com/recommendations-ai/docs).

## Installing

Install typings for Recommendations AI (Beta):

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

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 Recommendations AI (Beta) resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.recommendationengine-v1beta1
Description: TypeScript typings for Recommendations AI (Beta) v1beta1
Author: Maxim Mazurok
Latest version: 0.2.20260212

# TypeScript typings for Recommendations AI (Beta) v1beta1

Note that we now highly recommend new customers to use Retail API, which incorporates the GA version of the Recommendations AI funtionalities. To enable Retail API, please visit https://console.cloud.google.com/apis/library/retail.googleapis.com. The Recommendations AI service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.
For detailed description please check [documentation](https://cloud.google.com/recommendations-ai/docs).

## Installing

Install typings for Recommendations AI (Beta):

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

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

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 Recommendations AI (Beta) 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.recommendationengine-v1beta1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.recommender
Description: TypeScript typings for Recommender API v1
Author: Maxim Mazurok
Latest version: 1.0.20220807

# TypeScript typings for Recommender API v1


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

## Installing

Install typings for Recommender API:

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

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 Recommender API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.recommender-v1
Description: TypeScript typings for Recommender API v1
Author: Maxim Mazurok
Latest version: 0.2.20260315

# TypeScript typings for Recommender API v1

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

## Installing

Install typings for Recommender API:

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

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

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

# TypeScript typings for Recommender API v1beta1

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

## Installing

Install typings for Recommender API:

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

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

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

```typescript
/*
Lists available InsightTypes. No IAM permissions are required.
*/
await gapi.client.recommender.insightTypes.list({});

/*
Lists all available Recommenders. No IAM permissions are required.
*/
await gapi.client.recommender.recommenders.list({});
```

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

# TypeScript typings for Google Cloud Memorystore for Redis API v1

Creates and manages Redis instances on the Google Cloud Platform.
For detailed description please check [documentation](https://cloud.google.com/memorystore/docs/redis/).

## Installing

Install typings for Google Cloud Memorystore for Redis API:

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

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 Google Cloud Memorystore for Redis API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.redis-v1
Description: TypeScript typings for Google Cloud Memorystore for Redis API v1
Author: Maxim Mazurok
Latest version: 0.2.20260309

# TypeScript typings for Google Cloud Memorystore for Redis API v1

Creates and manages Redis instances on the Google Cloud Platform.
For detailed description please check [documentation](https://cloud.google.com/memorystore/docs/redis/).

## Installing

Install typings for Google Cloud Memorystore for Redis API:

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

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

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

# TypeScript typings for Google Cloud Memorystore for Redis API v1beta1

Creates and manages Redis instances on the Google Cloud Platform.
For detailed description please check [documentation](https://cloud.google.com/memorystore/docs/redis/).

## Installing

Install typings for Google Cloud Memorystore for Redis API:

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

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

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 Google Cloud Memorystore for Redis 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.redis-v1beta1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.resourcesettings
Description: TypeScript typings for Resource Settings API v1
Author: Maxim Mazurok
Latest version: 1.0.20220809

# TypeScript typings for Resource Settings API v1

The Resource Settings API allows users to control and modify the behavior of their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud Resource Hierarchy.
For detailed description please check [documentation](https://cloud.google.com/resource-manager/docs/resource-settings/overview).

## Installing

Install typings for Resource Settings API:

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

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 Resource Settings API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.resourcesettings-v1
Description: TypeScript typings for Resource Settings API v1
Author: Maxim Mazurok
Latest version: 0.0.20250120

# TypeScript typings for Resource Settings API v1

The Resource Settings API allows users to control and modify the behavior of their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud Resource Hierarchy.
For detailed description please check [documentation](https://cloud.google.com/resource-manager/docs/resource-settings/overview).

## Installing

Install typings for Resource Settings API:

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

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

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

```typescript

```
npm package: @maxim_mazurok/gapi.client.retail
Description: TypeScript typings for Retail API v2
Author: Maxim Mazurok
Latest version: 2.0.20220811

# TypeScript typings for Retail API v2

Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.
For detailed description please check [documentation](https://cloud.google.com/recommendations).

## Installing

Install typings for Retail API:

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

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 Retail API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.retail-v2
Description: TypeScript typings for Vertex AI Search for commerce API v2
Author: Maxim Mazurok
Latest version: 0.2.20260309

# TypeScript typings for Vertex AI Search for commerce API v2

Vertex AI Search for commerce API is made up of Retail Search, Browse and Recommendations. These discovery AI solutions help you implement personalized search, browse and recommendations, based on machine learning models, across your websites and mobile applications.
For detailed description please check [documentation](https://cloud.google.com/recommendations).

## Installing

Install typings for Vertex AI Search for commerce API:

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

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

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 Vertex AI Search for commerce 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.retail-v2#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.retail-v2beta
Description: TypeScript typings for Vertex AI Search for commerce API v2beta
Author: Maxim Mazurok
Latest version: 0.2.20260309

# TypeScript typings for Vertex AI Search for commerce API v2beta

Vertex AI Search for commerce API is made up of Retail Search, Browse and Recommendations. These discovery AI solutions help you implement personalized search, browse and recommendations, based on machine learning models, across your websites and mobile applications.
For detailed description please check [documentation](https://cloud.google.com/recommendations).

## Installing

Install typings for Vertex AI Search for commerce API:

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

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

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 Vertex AI Search for commerce API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Get the AlertConfig of the requested project.
*/
await gapi.client.retail.projects.getAlertConfig({name: 'name'});

/*
Update the alert config of the requested project.
*/
await gapi.client.retail.projects.updateAlertConfig({name: 'name'});
```

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

# TypeScript typings for Cloud Run Admin API v2

Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.
For detailed description please check [documentation](https://cloud.google.com/run/).

## Installing

Install typings for Cloud Run Admin API:

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

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 Run Admin API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.run-v1
Description: TypeScript typings for Cloud Run Admin API v1
Author: Maxim Mazurok
Latest version: 0.2.20260313

# TypeScript typings for Cloud Run Admin API v1

Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.
For detailed description please check [documentation](https://cloud.google.com/run/).

## Installing

Install typings for Cloud Run Admin API:

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

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

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

    // See, edit, configure, and delete your Google Cloud Run data and see the email address for your Google Account
    'https://www.googleapis.com/auth/run',

    // See your Google Cloud Run data and the email address of your Google Account
    'https://www.googleapis.com/auth/run.readonly',
  ],
  immediate = true;
// ...

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

After that you can use Cloud Run Admin 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.run-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.run-v2
Description: TypeScript typings for Cloud Run Admin API v2
Author: Maxim Mazurok
Latest version: 0.2.20260313

# TypeScript typings for Cloud Run Admin API v2

Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.
For detailed description please check [documentation](https://cloud.google.com/run/).

## Installing

Install typings for Cloud Run Admin API:

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

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

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

    // See, edit, configure, and delete your Google Cloud Run data and see the email address for your Google Account
    'https://www.googleapis.com/auth/run',

    // See your Google Cloud Run data and the email address of your Google Account
    'https://www.googleapis.com/auth/run.readonly',
  ],
  immediate = true;
// ...

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

After that you can use Cloud Run Admin 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.run-v2#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.runtimeconfig-v1beta1
Description: TypeScript typings for Cloud Runtime Configuration API v1beta1
Author: Maxim Mazurok
Latest version: 0.2.20251201

# TypeScript typings for Cloud Runtime Configuration API v1beta1

The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.
For detailed description please check [documentation](https://cloud.google.com/deployment-manager/runtime-configurator/).

## Installing

Install typings for Cloud Runtime Configuration API:

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

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

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

    // Manage your Google Cloud Platform services' runtime configuration
    'https://www.googleapis.com/auth/cloudruntimeconfig',
  ],
  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 Runtime Configuration 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.runtimeconfig-v1beta1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.saasservicemgmt-v1beta1
Description: TypeScript typings for SaaS Runtime API v1beta1
Author: Maxim Mazurok
Latest version: 0.2.20260311

# TypeScript typings for SaaS Runtime API v1beta1

Model, deploy, and operate your SaaS at scale.
For detailed description please check [documentation](https://cloud.google.com/saas-runtime/docs).

## Installing

Install typings for SaaS Runtime API:

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

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

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 SaaS Runtime 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.saasservicemgmt-v1beta1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.safebrowsing
Description: TypeScript typings for Safe Browsing API v4
Author: Maxim Mazurok
Latest version: 4.0.20220811

# TypeScript typings for Safe Browsing API v4

Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.
For detailed description please check [documentation](https://developers.google.com/safe-browsing/).

## Installing

Install typings for Safe Browsing API:

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



After that you can use Safe Browsing API resources:

```typescript

/*

*/
await gapi.client.safebrowsing.encodedFullHashes.get({ encodedRequest: "encodedRequest",  });

/*

*/
await gapi.client.safebrowsing.encodedUpdates.get({ encodedRequest: "encodedRequest",  });

/*
Finds the full hashes that match the requested hash prefixes.
*/
await gapi.client.safebrowsing.fullHashes.find({  });

/*
Reports a Safe Browsing threat list hit to Google. Only projects with TRUSTED_REPORTER visibility can use this method.
*/
await gapi.client.safebrowsing.threatHits.create({  });

/*
Lists the Safe Browsing threat lists available for download.
*/
await gapi.client.safebrowsing.threatLists.list({  });

/*
Fetches the most recent threat list updates. A client can request updates for multiple lists at once.
*/
await gapi.client.safebrowsing.threatListUpdates.fetch({  });

/*
Finds the threat entries that match the Safe Browsing lists.
*/
await gapi.client.safebrowsing.threatMatches.find({  });
```
npm package: @maxim_mazurok/gapi.client.safebrowsing-v4
Description: TypeScript typings for Safe Browsing API v4
Author: Maxim Mazurok
Latest version: 0.1.20260315

# TypeScript typings for Safe Browsing API v4

Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.
For detailed description please check [documentation](https://developers.google.com/safe-browsing/).

## Installing

Install typings for Safe Browsing API:

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

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

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

```typescript
/*

*/
await gapi.client.safebrowsing.encodedFullHashes.get({
  encodedRequest: 'encodedRequest',
});

/*

*/
await gapi.client.safebrowsing.encodedUpdates.get({
  encodedRequest: 'encodedRequest',
});

/*
Finds the full hashes that match the requested hash prefixes.
*/
await gapi.client.safebrowsing.fullHashes.find({});

/*
Reports a Safe Browsing threat list hit to Google. Only projects with TRUSTED_REPORTER visibility can use this method.
*/
await gapi.client.safebrowsing.threatHits.create({});

/*
Lists the Safe Browsing threat lists available for download.
*/
await gapi.client.safebrowsing.threatLists.list({});

/*
Fetches the most recent threat list updates. A client can request updates for multiple lists at once.
*/
await gapi.client.safebrowsing.threatListUpdates.fetch({});

/*
Finds the threat entries that match the Safe Browsing lists.
*/
await gapi.client.safebrowsing.threatMatches.find({});
```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.safebrowsing-v4#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.sasportal
Description: TypeScript typings for SAS Portal API v1alpha1
Author: Maxim Mazurok
Latest version: 1.0.20220727

# TypeScript typings for SAS Portal API v1alpha1


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

## Installing

Install typings for SAS Portal API:

```
npm install @types/gapi.client.sasportal@v1alpha1 --save-dev
```

## Usage

You need to initialize Google API client in your code:

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

Then load api client wrapper:

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

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

```typescript
// declare client_id registered in Google Developers Console
var client_id = '',
  scope = [ 
      // Read, create, update, and delete your SAS Portal data.
      'https://www.googleapis.com/auth/sasportal',

      // See your primary Google Account email address
      'https://www.googleapis.com/auth/userinfo.email',
    ],
    immediate = true;
// ...

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

After that you can use SAS Portal API resources:

```typescript

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

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

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

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

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

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

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

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

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

/*
Returns permissions that a caller has on the specified resource.
*/
await gapi.client.sasportal.policies.test({  });
```