open-index/open-npm huggingface dataset:
npm package: @maxim_mazurok/gapi.client.merchantapi-reports_v1beta
Description: TypeScript typings for Merchant API reports_v1beta
Author: Maxim Mazurok
Latest version: 0.0.20260318

# TypeScript typings for Merchant API reports_v1beta

Programmatically manage your Merchant Center Accounts.
For detailed description please check [documentation](https://developers.google.com/merchant/api).

## Installing

Install typings for Merchant API:

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

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

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 = [
    // Manage your product listings and accounts for Google Shopping
    'https://www.googleapis.com/auth/content',
  ],
  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 Merchant 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.merchantapi-reports_v1beta#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.merchantapi-reviews_v1beta
Description: TypeScript typings for Merchant API reviews_v1beta
Author: Maxim Mazurok
Latest version: 0.0.20260318

# TypeScript typings for Merchant API reviews_v1beta

Programmatically manage your Merchant Center Accounts.
For detailed description please check [documentation](https://developers.google.com/merchant/api).

## Installing

Install typings for Merchant API:

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

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

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 = [
    // Manage your product listings and accounts for Google Shopping
    'https://www.googleapis.com/auth/content',
  ],
  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 Merchant 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.merchantapi-reviews_v1beta#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.metastore
Description: TypeScript typings for Dataproc Metastore API v1beta
Author: Maxim Mazurok
Latest version: 1.0.20220809

# TypeScript typings for Dataproc Metastore API v1beta

The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.
For detailed description please check [documentation](https://cloud.google.com/dataproc-metastore/docs).

## Installing

Install typings for Dataproc Metastore API:

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

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 Dataproc Metastore API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.metastore-v1
Description: TypeScript typings for Dataproc Metastore API v1
Author: Maxim Mazurok
Latest version: 0.2.20260219

# TypeScript typings for Dataproc Metastore API v1

The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.
For detailed description please check [documentation](https://cloud.google.com/dataproc-metastore/docs).

## Installing

Install typings for Dataproc Metastore API:

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

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

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

# TypeScript typings for Dataproc Metastore API v1alpha

The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.
For detailed description please check [documentation](https://cloud.google.com/dataproc-metastore/docs).

## Installing

Install typings for Dataproc Metastore API:

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

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

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 Dataproc Metastore 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.metastore-v1alpha#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.metastore-v1beta
Description: TypeScript typings for Dataproc Metastore API v1beta
Author: Maxim Mazurok
Latest version: 0.2.20260219

# TypeScript typings for Dataproc Metastore API v1beta

The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.
For detailed description please check [documentation](https://cloud.google.com/dataproc-metastore/docs).

## Installing

Install typings for Dataproc Metastore API:

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

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

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

# TypeScript typings for Dataproc Metastore API v2

The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.
For detailed description please check [documentation](https://cloud.google.com/dataproc-metastore/docs).

## Installing

Install typings for Dataproc Metastore API:

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

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

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

```typescript

```
npm package: @maxim_mazurok/gapi.client.metastore-v2alpha
Description: TypeScript typings for Dataproc Metastore API v2alpha
Author: Maxim Mazurok
Latest version: 0.0.20250324

# TypeScript typings for Dataproc Metastore API v2alpha

The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.
For detailed description please check [documentation](https://cloud.google.com/dataproc-metastore/docs).

## Installing

Install typings for Dataproc Metastore API:

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

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

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

```typescript

```
npm package: @maxim_mazurok/gapi.client.metastore-v2beta
Description: TypeScript typings for Dataproc Metastore API v2beta
Author: Maxim Mazurok
Latest version: 0.0.20250324

# TypeScript typings for Dataproc Metastore API v2beta

The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.
For detailed description please check [documentation](https://cloud.google.com/dataproc-metastore/docs).

## Installing

Install typings for Dataproc Metastore API:

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

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

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

```typescript

```
npm package: @maxim_mazurok/gapi.client.migrationcenter-v1
Description: TypeScript typings for Migration Center API v1
Author: Maxim Mazurok
Latest version: 0.2.20260313

# TypeScript typings for Migration Center API v1

A unified platform that helps you accelerate your end-to-end cloud journey from your current on-premises or cloud environments to Google Cloud.
For detailed description please check [documentation](https://cloud.google.com/migration-center).

## Installing

Install typings for Migration Center API:

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

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

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

# TypeScript typings for Migration Center API v1alpha1

A unified platform that helps you accelerate your end-to-end cloud journey from your current on-premises or cloud environments to Google Cloud.
For detailed description please check [documentation](https://cloud.google.com/migration-center).

## Installing

Install typings for Migration Center API:

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

## Usage

You need to initialize Google API client in your code:

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

Then load api client wrapper:

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

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

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 Migration Center 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.migrationcenter-v1alpha1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.ml
Description: TypeScript typings for AI Platform Training & Prediction API v1
Author: Maxim Mazurok
Latest version: 1.0.20220728

# TypeScript typings for AI Platform Training & Prediction API v1

An API to enable creating and using machine learning models.
For detailed description please check [documentation](https://cloud.google.com/ml/).

## Installing

Install typings for AI Platform Training & Prediction API:

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

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

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

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

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

After that you can use AI Platform Training & Prediction API resources:

```typescript

/*
Performs explanation on the data in the request. {% dynamic include "/ai-platform/includes/___explain-request" %} 
*/
await gapi.client.ml.projects.explain({ name: "name",  });

/*
Get the service account information associated with your project. You need this information in order to grant the service account permissions for the Google Cloud Storage location where you put your model training code for training the model with Google Cloud Machine Learning.
*/
await gapi.client.ml.projects.getConfig({ name: "name",  });

/*
Performs online prediction on the data in the request. {% dynamic include "/ai-platform/includes/___predict-request" %} 
*/
await gapi.client.ml.projects.predict({ name: "name",  });
```
npm package: @maxim_mazurok/gapi.client.ml-v1
Description: TypeScript typings for AI Platform Training & Prediction API v1
Author: Maxim Mazurok
Latest version: 0.2.20251213

# TypeScript typings for AI Platform Training & Prediction API v1

An API to enable creating and using machine learning models.
For detailed description please check [documentation](https://cloud.google.com/ml/).

## Installing

Install typings for AI Platform Training & Prediction API:

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

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

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

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

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

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

After that you can use AI Platform Training & Prediction API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Performs explanation on the data in the request. {% dynamic include "/ai-platform/includes/___explain-request" %} 
*/
await gapi.client.ml.projects.explain({name: 'name'});

/*
Get the service account information associated with your project. You need this information in order to grant the service account permissions for the Google Cloud Storage location where you put your model training code for training the model with Google Cloud Machine Learning.
*/
await gapi.client.ml.projects.getConfig({name: 'name'});

/*
Performs online prediction on the data in the request. {% dynamic include "/ai-platform/includes/___predict-request" %} 
*/
await gapi.client.ml.projects.predict({name: 'name'});
```

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

# TypeScript typings for Cloud Monitoring API v3

Manages your Cloud Monitoring data and configurations.
For detailed description please check [documentation](https://cloud.google.com/monitoring/api/).

## Installing

Install typings for Cloud Monitoring API:

```
npm install @types/gapi.client.monitoring@v3 --save-dev
```

## Usage

You need to initialize Google API client in your code:

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

Then load api client wrapper:

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

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

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

      // View and write monitoring data for all of your Google and third-party Cloud and API projects
      'https://www.googleapis.com/auth/monitoring',

      // View monitoring data for all of your Google Cloud and third-party projects
      'https://www.googleapis.com/auth/monitoring.read',

      // Publish metric data to your Google Cloud projects
      'https://www.googleapis.com/auth/monitoring.write',
    ],
    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 Monitoring API resources:

```typescript

/*
Create a Service.
*/
await gapi.client.monitoring.services.create({ parent: "parent",  });

/*
Soft delete this Service.
*/
await gapi.client.monitoring.services.delete({ name: "name",  });

/*
Get the named Service.
*/
await gapi.client.monitoring.services.get({ name: "name",  });

/*
List Services for this Metrics Scope.
*/
await gapi.client.monitoring.services.list({ parent: "parent",  });

/*
Update this Service.
*/
await gapi.client.monitoring.services.patch({ name: "name",  });

/*
Returns the list of IP addresses that checkers run from
*/
await gapi.client.monitoring.uptimeCheckIps.list({  });
```
npm package: @maxim_mazurok/gapi.client.monitoring-v1
Description: TypeScript typings for Cloud Monitoring API v1
Author: Maxim Mazurok
Latest version: 0.1.20260310

# TypeScript typings for Cloud Monitoring API v1

Manages your Cloud Monitoring data and configurations.
For detailed description please check [documentation](https://cloud.google.com/monitoring/api/).

## Installing

Install typings for Cloud Monitoring API:

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

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

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

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

    // View and write monitoring data for all of your Google and third-party Cloud and API projects
    'https://www.googleapis.com/auth/monitoring',

    // View monitoring data for all of your Google Cloud and third-party projects
    'https://www.googleapis.com/auth/monitoring.read',

    // Publish metric data to your Google Cloud projects
    'https://www.googleapis.com/auth/monitoring.write',
  ],
  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 Monitoring 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.monitoring.operations.get({name: 'name'});
```

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

# TypeScript typings for Cloud Monitoring API v3

Manages your Cloud Monitoring data and configurations.
For detailed description please check [documentation](https://cloud.google.com/monitoring/api/).

## Installing

Install typings for Cloud Monitoring API:

```
npm install @types/gapi.client.monitoring-v3 --save-dev
```

## Usage

You need to initialize Google API client in your code:

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

Then load api client wrapper:

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

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

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

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

    // View and write monitoring data for all of your Google and third-party Cloud and API projects
    'https://www.googleapis.com/auth/monitoring',

    // View monitoring data for all of your Google Cloud and third-party projects
    'https://www.googleapis.com/auth/monitoring.read',

    // Publish metric data to your Google Cloud projects
    'https://www.googleapis.com/auth/monitoring.write',
  ],
  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 Monitoring API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Create a Service.
*/
await gapi.client.monitoring.services.create({parent: 'parent'});

/*
Soft delete this Service.
*/
await gapi.client.monitoring.services.delete({name: 'name'});

/*
Get the named Service.
*/
await gapi.client.monitoring.services.get({name: 'name'});

/*
List Services for this Metrics Scope.
*/
await gapi.client.monitoring.services.list({parent: 'parent'});

/*
Update this Service.
*/
await gapi.client.monitoring.services.patch({name: 'name'});

/*
Returns the list of IP addresses that checkers run from.
*/
await gapi.client.monitoring.uptimeCheckIps.list({});
```

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

# TypeScript typings for My Business Account Management API v1

The My Business Account Management API provides an interface for managing access to a location on Google.
For detailed description please check [documentation](https://developers.google.com/my-business/).

## Installing

Install typings for My Business Account Management API:

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



After that you can use My Business Account Management API resources:

```typescript

/*
Creates an account with the specified name and type under the given parent. - Personal accounts and Organizations cannot be created. - User Groups cannot be created with a Personal account as primary owner. - Location Groups cannot be created with a primary owner of a Personal account if the Personal account is in an Organization. - Location Groups cannot own Location Groups.
*/
await gapi.client.mybusinessaccountmanagement.accounts.create({  });

/*
Gets the specified account. Returns `NOT_FOUND` if the account does not exist or if the caller does not have access rights to it.
*/
await gapi.client.mybusinessaccountmanagement.accounts.get({ name: "name",  });

/*
Lists all of the accounts for the authenticated user. This includes all accounts that the user owns, as well as any accounts for which the user has management rights.
*/
await gapi.client.mybusinessaccountmanagement.accounts.list({  });

/*
Updates the specified business account. Personal accounts cannot be updated using this method.
*/
await gapi.client.mybusinessaccountmanagement.accounts.patch({ name: "name",  });

/*
Moves a location from an account that the user owns to another account that the same user administers. The user must be an owner of the account the location is currently associated with and must also be at least a manager of the destination account.
*/
await gapi.client.mybusinessaccountmanagement.locations.transfer({ name: "name",  });
```
npm package: @maxim_mazurok/gapi.client.mybusinessbusinesscalls
Description: TypeScript typings for My Business Business Calls API v1
Author: Maxim Mazurok
Latest version: 1.0.20220809

# TypeScript typings for My Business Business Calls API v1

The My Business Business Calls API manages business calls information of a location on Google and collect insights like the number of missed calls to their location. Additional information about Business calls can be found at https://support.google.com/business/answer/9688285?p=call_history. If the Google Business Profile links to a Google Ads account and call history is turned on, calls that last longer than a specific time, and that can be attributed to an ad interaction, will show in the linked Google Ads account under the "Calls from Ads" conversion. If smart bidding and call conversions are used in the optimization strategy, there could be a change in ad spend. Learn more about smart bidding. To view and perform actions on a location's calls, you need to be a `OWNER`, `CO_OWNER` or `MANAGER` of the location.
For detailed description please check [documentation](https://developers.google.com/my-business/).

## Installing

Install typings for My Business Business Calls API:

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



After that you can use My Business Business Calls API resources:

```typescript

/*
Returns the Business calls settings resource for the given location.
*/
await gapi.client.mybusinessbusinesscalls.locations.getBusinesscallssettings({ name: "name",  });

/*
Updates the Business call settings for the specified location.
*/
await gapi.client.mybusinessbusinesscalls.locations.updateBusinesscallssettings({ name: "name",  });
```
npm package: @maxim_mazurok/gapi.client.mybusinessbusinesscalls-v1
Description: TypeScript typings for My Business Business Calls API v1
Author: Maxim Mazurok
Latest version: 0.0.20230605

# TypeScript typings for My Business Business Calls API v1

The My Business Business Calls API manages business calls information of a location on Google and collect insights like the number of missed calls to their location. Additional information about Business calls can be found at https://support.google.com/business/answer/9688285?p=call_history. If the Google Business Profile links to a Google Ads account and call history is turned on, calls that last longer than a specific time, and that can be attributed to an ad interaction, will show in the linked Google Ads account under the "Calls from Ads" conversion. If smart bidding and call conversions are used in the optimization strategy, there could be a change in ad spend. Learn more about smart bidding. To view and perform actions on a location's calls, you need to be a `OWNER`, `CO_OWNER` or `MANAGER` of the location. 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 My Business Business Calls API:

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

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



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

```typescript

/*
Returns the Business calls settings resource for the given location.
*/
await gapi.client.mybusinessbusinesscalls.locations.getBusinesscallssettings({ name: "name",  });

/*
Updates the Business call settings for the specified location.
*/
await gapi.client.mybusinessbusinesscalls.locations.updateBusinesscallssettings({ name: "name",  });
```
npm package: @maxim_mazurok/gapi.client.mybusinesslodging
Description: TypeScript typings for My Business Lodging API v1
Author: Maxim Mazurok
Latest version: 1.0.20220809

# TypeScript typings for My Business Lodging API v1

The My Business Lodging API enables managing lodging business information on Google.
For detailed description please check [documentation](https://developers.google.com/my-business/).

## Installing

Install typings for My Business Lodging API:

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



After that you can use My Business Lodging API resources:

```typescript

/*
Returns the Lodging of a specific location.
*/
await gapi.client.mybusinesslodging.locations.getLodging({ name: "name",  });

/*
Updates the Lodging of a specific location.
*/
await gapi.client.mybusinesslodging.locations.updateLodging({ name: "name",  });
```
npm package: @maxim_mazurok/gapi.client.mybusinesslodging-v1
Description: TypeScript typings for My Business Lodging API v1
Author: Maxim Mazurok
Latest version: 0.2.20260317

# TypeScript typings for My Business Lodging API v1

The My Business Lodging API enables managing lodging business information 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 My Business Lodging API:

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

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

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

```typescript
/*
Returns the Lodging of a specific location.
*/
await gapi.client.mybusinesslodging.locations.getLodging({name: 'name'});

/*
Updates the Lodging of a specific location.
*/
await gapi.client.mybusinesslodging.locations.updateLodging({name: 'name'});
```

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

# TypeScript typings for My Business Notifications API v1

The My Business Notification Settings API enables managing notification settings for business accounts.
For detailed description please check [documentation](https://developers.google.com/my-business/).

## Installing

Install typings for My Business Notifications API:

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



After that you can use My Business Notifications API resources:

```typescript

/*
Returns the pubsub notification settings for the account.
*/
await gapi.client.mybusinessnotifications.accounts.getNotificationSetting({ name: "name",  });

/*
Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. Use the notification_types field within notification_setting to manipulate the events an account wants to subscribe to. An account will only have one notification setting resource, and only one pubsub topic can be set. To delete the setting, update with an empty notification_types
*/
await gapi.client.mybusinessnotifications.accounts.updateNotificationSetting({ name: "name",  });
```