# GoogleMobileAds.Ump.Api.ConsentRequestParameters

Parameters sent on updating user consent info.

## Summary

| ### Public attributes ||
|---|---|
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/ump/api/consent-request-parameters#class_google_mobile_ads_1_1_ump_1_1_api_1_1_consent_request_parameters_1a99b7b58882a1cba2d731d18d5ab4aa4d = new ConsentDebugSettings()` | `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/ump/api/consent-debug-settings#class_google_mobile_ads_1_1_ump_1_1_api_1_1_consent_debug_settings` Debug settings for the request. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/ump/api/consent-request-parameters#class_google_mobile_ads_1_1_ump_1_1_api_1_1_consent_request_parameters_1aca834702e34fa65145986096edbcdb30` | `string` The consent sync ID used to sync the user consent status. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/ump/api/consent-request-parameters#class_google_mobile_ads_1_1_ump_1_1_api_1_1_consent_request_parameters_1a033485994d05d5182e7a46faff9626ef` | `bool` Determines whether the user is tagged for under the age of consent. |

## Public attributes

### ConsentDebugSettings

```c#
ConsentDebugSettings ConsentDebugSettings = new ConsentDebugSettings()
```
Debug settings for the request.

### ConsentSyncId

```c#
string ConsentSyncId
```
The consent sync ID used to sync the user consent status.

The consent sync ID must meet the following requirements:


- Constructed as a UUID string as matches the regular expression (regex) \^\[0-9a-zA-Z+.=\\/_-$,{}\]{22,150}$
- A minimum of 22 characters.
- A maximum of 150 characters.

<br />

Failure to meet the requirements results in the consent sync ID not being set and the UMP SDK logging a warning to the console.

### TagForUnderAgeOfConsent

```c#
bool TagForUnderAgeOfConsent
```
Determines whether the user is tagged for under the age of consent.