# Google.Play.Integrity.PrepareIntegrityTokenRequest

Request for [StandardIntegrityManager.PrepareIntegrityToken](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityManager#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityManager_1aa58935c538b33ea73f9862c143412974).

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/PrepareIntegrityTokenRequest#classGoogle_1_1Play_1_1Integrity_1_1PrepareIntegrityTokenRequest_1a23432fb1b2f1fa87fb44c49003f28fb2(long cloudProjectNumber)` Constructor. ||

| ### Properties ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/PrepareIntegrityTokenRequest#classGoogle_1_1Play_1_1Integrity_1_1PrepareIntegrityTokenRequest_1a318d3f2e82df9a331d16d49242c620f9` | `long` A cloud project number to link to the integrity token. |

## Properties

### CloudProjectNumber

```c#
long CloudProjectNumber
```
A cloud project number to link to the integrity token.

This field is required.

Cloud project number can be found in Project info in your [Google](https://developer.android.com/reference/unity/namespace/Google#namespaceGoogle) Cloud Console for the cloud project where [Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play)[Integrity](https://developer.android.com/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity) API is enabled.

Calls to [decrypt the token on Google's server](https://developer.android.com/google/play/integrity/verdict#decrypt-verify-google-servers) must be authenticated using the cloud account that was linked to the token in this request.

## Public functions

### PrepareIntegrityTokenRequest

```c#
 PrepareIntegrityTokenRequest(
  long cloudProjectNumber
)
```
Constructor.

<br />

Details Parameters `cloudProjectNumber` A cloud project number to link to the integrity token.