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

# TypeScript typings for Cloud Build API v1

Creates and manages builds on Google Cloud Platform.
For detailed description please check [documentation](https://cloud.google.com/cloud-build/docs/).

## Installing

Install typings for Cloud Build API:

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

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

```typescript

/*
ReceiveRegionalWebhook is called when the API receives a regional GitHub webhook.
*/
await gapi.client.cloudbuild.locations.regionalWebhook({ location: "location",  });

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

/*
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.cloudbuild.operations.get({ name: "name",  });

/*
ReceiveWebhook is called when the API receives a GitHub webhook.
*/
await gapi.client.cloudbuild.v1.webhook({  });
```
npm package: @maxim_mazurok/gapi.client.cloudbuild-v1alpha1
Description: TypeScript typings for Cloud Build API v1alpha1
Author: Maxim Mazurok
Latest version: 0.0.20230102

# TypeScript typings for Cloud Build API v1alpha1

Creates and manages builds on Google Cloud Platform.
For detailed description please check [documentation](https://cloud.google.com/cloud-build/docs/).

## Installing

Install typings for Cloud Build API:

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

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

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

```typescript
```
npm package: @maxim_mazurok/gapi.client.cloudbuild-v1alpha2
Description: TypeScript typings for Cloud Build API v1alpha2
Author: Maxim Mazurok
Latest version: 0.0.20230102

# TypeScript typings for Cloud Build API v1alpha2

Creates and manages builds on Google Cloud Platform.
For detailed description please check [documentation](https://cloud.google.com/cloud-build/docs/).

## Installing

Install typings for Cloud Build API:

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

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

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

```typescript
```
npm package: @maxim_mazurok/gapi.client.cloudbuild-v1beta1
Description: TypeScript typings for Cloud Build API v1beta1
Author: Maxim Mazurok
Latest version: 0.0.20230102

# TypeScript typings for Cloud Build API v1beta1

Creates and manages builds on Google Cloud Platform.
For detailed description please check [documentation](https://cloud.google.com/cloud-build/docs/).

## Installing

Install typings for Cloud Build API:

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

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

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

```typescript
```
npm package: @maxim_mazurok/gapi.client.cloudbuild-v2
Description: TypeScript typings for Cloud Build API v2
Author: Maxim Mazurok
Latest version: 0.2.20260309

# TypeScript typings for Cloud Build API v2

Creates and manages builds on Google Cloud Platform.
For detailed description please check [documentation](https://cloud.google.com/cloud-build/docs/).

## Installing

Install typings for Cloud Build API:

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

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

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 Build 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.cloudbuild-v2#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.cloudcommerceprocurement-v1
Description: TypeScript typings for Cloud Commerce Partner Procurement API v1
Author: Maxim Mazurok
Latest version: 0.1.20260315

# TypeScript typings for Cloud Commerce Partner Procurement API v1

Partner API for the Cloud Commerce Procurement Service.
For detailed description please check [documentation](https://cloud.google.com/marketplace/docs/partners/).

## Installing

Install typings for Cloud Commerce Partner Procurement API:

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

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

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 Commerce Partner Procurement 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.cloudcommerceprocurement-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.cloudcontrolspartner-v1
Description: TypeScript typings for Cloud Controls Partner API v1
Author: Maxim Mazurok
Latest version: 0.2.20260311

# TypeScript typings for Cloud Controls Partner API v1

Provides insights about your customers and their Assured Workloads based on your Sovereign Controls by Partners offering.
For detailed description please check [documentation](https://cloud.google.com/sovereign-controls-by-partners/docs/sovereign-partners/reference/rest).

## Installing

Install typings for Cloud Controls Partner API:

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

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

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

# TypeScript typings for Cloud Controls Partner API v1beta

Provides insights about your customers and their Assured Workloads based on your Sovereign Controls by Partners offering.
For detailed description please check [documentation](https://cloud.google.com/sovereign-controls-by-partners/docs/sovereign-partners/reference/rest).

## Installing

Install typings for Cloud Controls Partner API:

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

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

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 Controls Partner 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.cloudcontrolspartner-v1beta#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.clouddebugger
Description: TypeScript typings for Cloud Debugger API v2
Author: Maxim Mazurok
Latest version: 2.0.20220805

# TypeScript typings for Cloud Debugger API v2

Examines the call stack and variables of a running application without stopping or slowing it down. 
For detailed description please check [documentation](https://cloud.google.com/debugger).

## Installing

Install typings for Cloud Debugger API:

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

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 = [ 
      // Use Stackdriver Debugger
      'https://www.googleapis.com/auth/cloud_debugger',

      // 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 Debugger API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.clouddeploy
Description: TypeScript typings for Google Cloud Deploy API v1
Author: Maxim Mazurok
Latest version: 1.0.20220725

# TypeScript typings for Google Cloud Deploy API v1


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

## Installing

Install typings for Google Cloud Deploy API:

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

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

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

# TypeScript typings for Cloud Deploy API v1

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

## Installing

Install typings for Cloud Deploy API:

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

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

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

# TypeScript typings for Error Reporting API v1beta1

Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors. 
For detailed description please check [documentation](https://cloud.google.com/error-reporting/).

## Installing

Install typings for Error Reporting API:

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

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 Error Reporting API resources:

```typescript

/*
Deletes all error events of a given project.
*/
await gapi.client.clouderrorreporting.projects.deleteEvents({ projectName: "projectName",  });
```
npm package: @maxim_mazurok/gapi.client.clouderrorreporting-v1beta1
Description: TypeScript typings for Error Reporting API v1beta1
Author: Maxim Mazurok
Latest version: 0.1.20260313

# TypeScript typings for Error Reporting API v1beta1

Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors.
For detailed description please check [documentation](https://cloud.google.com/error-reporting/).

## Installing

Install typings for Error Reporting API:

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

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

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

```typescript
/*
Deletes all error events of a given project.
*/
await gapi.client.clouderrorreporting.projects.deleteEvents({
  projectName: 'projectName',
});
```

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

# TypeScript typings for Cloud Functions API v2

Manages lightweight user-provided functions executed in response to events.
For detailed description please check [documentation](https://cloud.google.com/functions).

## Installing

Install typings for Cloud Functions API:

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

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

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

# TypeScript typings for Cloud Functions API v1

Manages lightweight user-provided functions executed in response to events.
For detailed description please check [documentation](https://cloud.google.com/functions).

## Installing

Install typings for Cloud Functions API:

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

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

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

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

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

# TypeScript typings for Cloud Functions API v2

Manages lightweight user-provided functions executed in response to events.
For detailed description please check [documentation](https://cloud.google.com/functions).

## Installing

Install typings for Cloud Functions API:

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

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

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

# TypeScript typings for Cloud Functions API v2alpha

Manages lightweight user-provided functions executed in response to events.
For detailed description please check [documentation](https://cloud.google.com/functions).

## Installing

Install typings for Cloud Functions API:

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

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

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

# TypeScript typings for Cloud Functions API v2beta

Manages lightweight user-provided functions executed in response to events.
For detailed description please check [documentation](https://cloud.google.com/functions).

## Installing

Install typings for Cloud Functions API:

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

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

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

# TypeScript typings for Cloud IoT API v1

Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform. 
For detailed description please check [documentation](https://cloud.google.com/iot).

## Installing

Install typings for Cloud IoT API:

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

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

      // Register and manage devices in the Google Cloud IoT service
      'https://www.googleapis.com/auth/cloudiot',
    ],
    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 IoT API resources:

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

# TypeScript typings for Cloud IoT API v1

Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform. 
For detailed description please check [documentation](https://cloud.google.com/iot).

## Installing

Install typings for Cloud IoT API:

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

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

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

      // Register and manage devices in the Google Cloud IoT service
      'https://www.googleapis.com/auth/cloudiot',
    ],
    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 IoT API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
```
npm package: @maxim_mazurok/gapi.client.cloudkms
Description: TypeScript typings for Cloud Key Management Service (KMS) API v1
Author: Maxim Mazurok
Latest version: 1.0.20220729

# TypeScript typings for Cloud Key Management Service (KMS) API v1

Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications. 
For detailed description please check [documentation](https://cloud.google.com/kms/).

## Installing

Install typings for Cloud Key Management Service (KMS) API:

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

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

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

      // View and manage your keys and secrets stored in Cloud Key Management Service
      'https://www.googleapis.com/auth/cloudkms',
    ],
    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 Key Management Service (KMS) API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.cloudlocationfinder-v1
Description: TypeScript typings for Cloud Location Finder API v1
Author: Maxim Mazurok
Latest version: 0.1.20260311

# TypeScript typings for Cloud Location Finder API v1

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

## Installing

Install typings for Cloud Location Finder API:

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

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

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

# TypeScript typings for Cloud Location Finder API v1alpha

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

## Installing

Install typings for Cloud Location Finder API:

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

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

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 Location Finder 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.cloudlocationfinder-v1alpha#Provenance:~:text=none-,Provenance,-Built%20and%20signed)