Stay organized with collections
Save and categorize content based on your preferences.
firebase::
gma::
ump::
ConsentRequestParameters
#include <types.h>
Parameters for the ConsentInfo::RequestConsentInfoUpdate()
operation.
Summary
Deprecated.
This struct has been moved to the firebase::ump
namespace.
Constructors and Destructors
Debug settings for the consent request.
bool
Whether the user is under the age of consent.
Public attributes
debug_settings
ConsentDebugSettings
firebase
::
gma
::
ump
::
ConsentRequestParameters
::
debug_settings
Debug settings for the consent request.
tag_for_under_age_of_consent
bool
firebase
::
gma
::
ump
::
ConsentRequestParameters
::
tag_for_under_age_of_consent
Whether the user is under the age of consent.
Public functions
ConsentRequestParameters
firebase
::
gma
::
ump
::
ConsentRequestParameters
::
ConsentRequestParameters
()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eConsentRequestParameters\u003c/code\u003e struct is used to configure consent information update requests in the User Messaging Platform (UMP) SDK.\u003c/p\u003e\n"],["\u003cp\u003eIt includes settings for debugging the request and indicating if the user is under the age of consent.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edebug_settings\u003c/code\u003e attribute allows developers to adjust debug behaviors during the consent request process.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003etag_for_under_age_of_consent\u003c/code\u003e attribute flags whether the user should be treated as under the age of consent for data collection.\u003c/p\u003e\n"]]],["The `ConsentRequestParameters` structure configures the `RequestConsentInfoUpdate()` operation. It includes two key attributes: `debug_settings`, which sets debug options for the consent request, and `tag_for_under_age_of_consent`, a boolean indicating if the user is under the age of consent. The structure also includes a constructor `ConsentRequestParameters()`. These elements manage the settings for obtaining user consent information.\n"],null,["# firebase::gma::ump::ConsentRequestParameters Struct Reference\n\nfirebase::gma::ump::ConsentRequestParameters\n============================================\n\n\n`#include \u003ctypes.h\u003e`\n\nParameters for the [ConsentInfo::RequestConsentInfoUpdate()](/admob/cpp/reference/class/firebase/gma/ump/consent-info#classfirebase_1_1gma_1_1ump_1_1_consent_info_1aff1b2c4891eca23c058052b01c37290e) operation.\n\nSummary\n-------\n\n**[Deprecated.](/admob/cpp/reference/deprecated/deprecated)** This struct has been moved to the [firebase::ump](/admob/cpp/reference/namespace/firebase/ump#namespacefirebase_1_1ump) namespace.\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ConsentRequestParameters](#structfirebase_1_1gma_1_1ump_1_1_consent_request_parameters_1a68ed32ebd0ff8ba550285c33b1b5691a)`()` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [debug_settings](#structfirebase_1_1gma_1_1ump_1_1_consent_request_parameters_1a562a007368cdc804625ae9d27794fc40) | [ConsentDebugSettings](/admob/cpp/reference/struct/firebase/gma/ump/consent-debug-settings#structfirebase_1_1gma_1_1ump_1_1_consent_debug_settings) Debug settings for the consent request. |\n| [tag_for_under_age_of_consent](#structfirebase_1_1gma_1_1ump_1_1_consent_request_parameters_1a733716b4ab542cc8fca68042554c6d83) | `bool` Whether the user is under the age of consent. |\n\nPublic attributes\n-----------------\n\n### debug_settings\n\n```c++\nConsentDebugSettings firebase::gma::ump::ConsentRequestParameters::debug_settings\n``` \nDebug settings for the consent request. \n\n### tag_for_under_age_of_consent\n\n```c++\nbool firebase::gma::ump::ConsentRequestParameters::tag_for_under_age_of_consent\n``` \nWhether the user is under the age of consent.\n\nPublic functions\n----------------\n\n### ConsentRequestParameters\n\n```c++\n firebase::gma::ump::ConsentRequestParameters::ConsentRequestParameters()\n```"]]