open-index/open-npm huggingface dataset:
npm package: @maxim_mazurok/gapi.client.parametermanager-v1
Description: TypeScript typings for Parameter Manager API v1
Author: Maxim Mazurok
Latest version: 0.2.20260309

# TypeScript typings for Parameter Manager API v1

Parameter Manager is a single source of truth to store, access and manage the lifecycle of your workload parameters. Parameter Manager aims to make management of sensitive application parameters effortless for customers without diminishing focus on security.
For detailed description please check [documentation](https://cloud.google.com/secret-manager/parameter-manager/docs/overview).

## Installing

Install typings for Parameter Manager API:

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

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

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

```typescript

```

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

# TypeScript typings for Payments Reseller Subscription API v1


For detailed description please check [documentation](https://developers.google.com/payments/reseller/subscription/).

## Installing

Install typings for Payments Reseller Subscription API:

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



After that you can use Payments Reseller Subscription API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.paymentsresellersubscription-v1
Description: TypeScript typings for Payments Reseller Subscription API v1
Author: Maxim Mazurok
Latest version: 0.1.20260317

# TypeScript typings for Payments Reseller Subscription API v1

For detailed description please check [documentation](https://developers.google.com/payments/reseller/subscription/).

## Installing

Install typings for Payments Reseller Subscription API:

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

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

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 and/or control the devices that you selected
    'https://www.googleapis.com/auth/sdm.service',
  ],
  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 Payments Reseller Subscription 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.paymentsresellersubscription-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.playablelocations
Description: TypeScript typings for Playable Locations API v3
Author: Maxim Mazurok
Latest version: 3.0.20211015

# TypeScript typings for Playable Locations API v3


For detailed description please check [documentation](https://developers.google.com/maps/contact-sales/).

## Installing

Install typings for Playable Locations API:

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



After that you can use Playable Locations API resources:

```typescript

/*
Logs new events when playable locations are displayed, and when they are interacted with. Impressions are not partially saved; either all impressions are saved and this request succeeds, or no impressions are saved, and this request fails.
*/
await gapi.client.playablelocations.v3.logImpressions({  });

/*
Logs bad playable location reports submitted by players. Reports are not partially saved; either all reports are saved and this request succeeds, or no reports are saved, and this request fails.
*/
await gapi.client.playablelocations.v3.logPlayerReports({  });

/*
Returns a set of playable locations that lie within a specified area, that satisfy optional filter criteria. Note: Identical `SamplePlayableLocations` requests can return different results as the state of the world changes over time.
*/
await gapi.client.playablelocations.v3.samplePlayableLocations({  });
```
npm package: @maxim_mazurok/gapi.client.playcustomapp
Description: TypeScript typings for Google Play Custom App Publishing API v1
Author: Maxim Mazurok
Latest version: 1.0.20220811

# TypeScript typings for Google Play Custom App Publishing API v1

API to create and publish custom Android apps
For detailed description please check [documentation](https://developers.google.com/android/work/play/custom-app-api/).

## Installing

Install typings for Google Play Custom App Publishing API:

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

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

```typescript
// declare client_id registered in Google Developers Console
var client_id = '',
  scope = [ 
      // View and manage your Google Play Developer account
      'https://www.googleapis.com/auth/androidpublisher',
    ],
    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 Play Custom App Publishing API resources:

```typescript
```
npm package: @maxim_mazurok/gapi.client.playcustomapp-v1
Description: TypeScript typings for Google Play Custom App Publishing API v1
Author: Maxim Mazurok
Latest version: 0.2.20260316

# TypeScript typings for Google Play Custom App Publishing API v1

API to create and publish custom Android apps
For detailed description please check [documentation](https://developers.google.com/android/work/play/custom-app-api/).

## Installing

Install typings for Google Play Custom App Publishing API:

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

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

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

```typescript
// declare client_id registered in Google Developers Console
var client_id = '',
  scope = [
    // View and manage your Google Play Developer account
    'https://www.googleapis.com/auth/androidpublisher',
  ],
  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 Play Custom App Publishing 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.playcustomapp-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.playdeveloperreporting
Description: TypeScript typings for Google Play Developer Reporting API v1beta1
Author: Maxim Mazurok
Latest version: 1.0.20220811

# TypeScript typings for Google Play Developer Reporting API v1beta1


For detailed description please check [documentation](https://developers.google.com/play/developer/reporting).

## Installing

Install typings for Google Play Developer Reporting API:

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



After that you can use Google Play Developer Reporting API resources:

```typescript

/*
Lists anomalies in any of the datasets.
*/
await gapi.client.playdeveloperreporting.anomalies.list({ parent: "parent",  });
```
npm package: @maxim_mazurok/gapi.client.playdeveloperreporting-v1alpha1
Description: TypeScript typings for Google Play Developer Reporting API v1alpha1
Author: Maxim Mazurok
Latest version: 0.2.20260317

# TypeScript typings for Google Play Developer Reporting API v1alpha1

For detailed description please check [documentation](https://developers.google.com/play/developer/reporting).

## Installing

Install typings for Google Play Developer Reporting API:

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

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

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 metrics and data about the apps in your Google Play Developer account
    'https://www.googleapis.com/auth/playdeveloperreporting',
  ],
  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 Play Developer Reporting API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Lists anomalies in any of the datasets.
*/
await gapi.client.playdeveloperreporting.anomalies.list({parent: 'parent'});

/*
Describes filtering options for releases.
*/
await gapi.client.playdeveloperreporting.apps.fetchReleaseFilterOptions({
  name: 'name',
});

/*
Searches for Apps accessible by the user.
*/
await gapi.client.playdeveloperreporting.apps.search({});
```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.playdeveloperreporting-v1alpha1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.playdeveloperreporting-v1beta1
Description: TypeScript typings for Google Play Developer Reporting API v1beta1
Author: Maxim Mazurok
Latest version: 0.2.20260317

# TypeScript typings for Google Play Developer Reporting API v1beta1

For detailed description please check [documentation](https://developers.google.com/play/developer/reporting).

## Installing

Install typings for Google Play Developer Reporting API:

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

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

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 metrics and data about the apps in your Google Play Developer account
    'https://www.googleapis.com/auth/playdeveloperreporting',
  ],
  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 Play Developer Reporting API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Lists anomalies in any of the datasets.
*/
await gapi.client.playdeveloperreporting.anomalies.list({parent: 'parent'});

/*
Describes filtering options for releases.
*/
await gapi.client.playdeveloperreporting.apps.fetchReleaseFilterOptions({
  name: 'name',
});

/*
Searches for Apps accessible by the user.
*/
await gapi.client.playdeveloperreporting.apps.search({});
```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.playdeveloperreporting-v1beta1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.playgrouping-v1alpha1
Description: TypeScript typings for Google Play Grouping API v1alpha1
Author: Maxim Mazurok
Latest version: 0.2.20260317

# TypeScript typings for Google Play Grouping API v1alpha1

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

## Installing

Install typings for Google Play Grouping API:

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

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

After that you can use Google Play Grouping 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.playgrouping-v1alpha1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
npm package: @maxim_mazurok/gapi.client.playintegrity
Description: TypeScript typings for Google Play Integrity API v1
Author: Maxim Mazurok
Latest version: 1.0.20220811

# TypeScript typings for Google Play Integrity API v1

Play Integrity
For detailed description please check [documentation](https://developer.android.com/google/play/integrity).

## Installing

Install typings for Google Play Integrity API:

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

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 = [ 
      // Private Service: https://www.googleapis.com/auth/playintegrity
      'https://www.googleapis.com/auth/playintegrity',
    ],
    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 Play Integrity API resources:

```typescript

/*
Decodes the integrity token and returns the token payload.
*/
await gapi.client.playintegrity.v1.decodeIntegrityToken({ packageName: "packageName",  });
```
npm package: @maxim_mazurok/gapi.client.playintegrity-v1
Description: TypeScript typings for Google Play Integrity API v1
Author: Maxim Mazurok
Latest version: 0.2.20260317

# TypeScript typings for Google Play Integrity API v1

The Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services. The Play Integrity API has replaced SafetyNet Attestation and Android Device Verification.
For detailed description please check [documentation](https://developer.android.com/google/play/integrity).

## Installing

Install typings for Google Play Integrity API:

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

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

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 = [
    // Private Service: https://www.googleapis.com/auth/playintegrity
    'https://www.googleapis.com/auth/playintegrity',
  ],
  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 Play Integrity API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript
/*
Writes recall bits for the device where Play Integrity API token is obtained. The endpoint is available to select Play partners in an early access program (EAP).
*/
await gapi.client.playintegrity.deviceRecall.write({
  packageName: 'packageName',
});

/*
Decodes the integrity token and returns the token payload.
*/
await gapi.client.playintegrity.decodeIntegrityToken({
  packageName: 'packageName',
});

/*
Decodes the PC integrity token and returns the PC token payload.
*/
await gapi.client.playintegrity.decodePcIntegrityToken({
  packageName: 'packageName',
});
```

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

# TypeScript typings for Policy Analyzer API v1


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

## Installing

Install typings for Policy Analyzer API:

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

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 Policy Analyzer API resources:

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

# TypeScript typings for Policy Analyzer API v1

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

## Installing

Install typings for Policy Analyzer API:

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

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

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

# TypeScript typings for Policy Analyzer API v1beta1

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

## Installing

Install typings for Policy Analyzer API:

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

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

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

# TypeScript typings for Policy Simulator API v1

 Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.
For detailed description please check [documentation](https://cloud.google.com/iam/docs/simulating-access).

## Installing

Install typings for Policy Simulator API:

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

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 Policy Simulator API resources:

```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.policysimulator.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`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
*/
await gapi.client.policysimulator.operations.list({  });
```
npm package: @maxim_mazurok/gapi.client.policysimulator-v1
Description: TypeScript typings for Policy Simulator API v1
Author: Maxim Mazurok
Latest version: 0.2.20260312

# TypeScript typings for Policy Simulator API v1

Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.
For detailed description please check [documentation](https://cloud.google.com/iam/docs/simulating-access).

## Installing

Install typings for Policy Simulator API:

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

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

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 Policy Simulator 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.policysimulator.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.policysimulator.operations.list({name: 'name'});
```

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

# TypeScript typings for Policy Simulator API v1alpha

Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.
For detailed description please check [documentation](https://cloud.google.com/iam/docs/simulating-access).

## Installing

Install typings for Policy Simulator API:

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

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

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 Policy Simulator 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.policysimulator.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.policysimulator.operations.list({name: 'name'});
```

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

# TypeScript typings for Policy Simulator API v1beta

Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.
For detailed description please check [documentation](https://cloud.google.com/iam/docs/simulating-access).

## Installing

Install typings for Policy Simulator API:

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

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

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 Policy Simulator 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.policysimulator.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.policysimulator.operations.list({name: 'name'});
```

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

# TypeScript typings for Policy Troubleshooter API v1


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

## Installing

Install typings for Policy Troubleshooter API:

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

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 Policy Troubleshooter API resources:

```typescript

/*
Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or does not have that permission.
*/
await gapi.client.policytroubleshooter.iam.troubleshoot({  });
```
npm package: @maxim_mazurok/gapi.client.policytroubleshooter-v1
Description: TypeScript typings for Policy Troubleshooter API v1
Author: Maxim Mazurok
Latest version: 0.2.20260308

# TypeScript typings for Policy Troubleshooter API v1

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

## Installing

Install typings for Policy Troubleshooter API:

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

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

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

```typescript
/*
Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or does not have that permission.
*/
await gapi.client.policytroubleshooter.iam.troubleshoot({});
```

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

# TypeScript typings for Policy Troubleshooter API v1beta

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

## Installing

Install typings for Policy Troubleshooter API:

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

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

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

```typescript
/*
Checks whether a member has a specific permission for a specific resource, and explains why the member does or does not have that permission.
*/
await gapi.client.policytroubleshooter.iam.troubleshoot({});
```

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