GoogleUserMessagingPlatform Framework Reference
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
      
        
          
            UMPRequestParameters
              
                
                  
@interface UMPRequestParameters : NSObject <NSCopying>
                 
               
            Parameters sent on updates to user consent info.
          
          
            
              
                - 
                  
                  
                    
                    
                      
                      
                        Indicates whether the user is tagged for under age of consent. 
 
                        Declaration
                          Swift var isTaggedForUnderAgeOfConsent: Bool { get set }
 
 
                          Objective-C @property (nonatomic) BOOL tagForUnderAgeOfConsent;
 
 
 
 
- 
                  
                  
                    
                    
                      
                      
                        Debug settings for the request. 
 
                        Declaration
                          Swift @NSCopying var debugSettings: DebugSettings? { get set }
 
 
                          Objective-C @property (nonatomic, copy, nullable) UMPDebugSettings *debugSettings;
 
 
 
 
           
        
      
     
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  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.
  
  
  
    
      [null,null,["Last updated 2025-08-20 UTC."],[],["`UMPRequestParameters` are used to update user consent information. Key actions include setting the `tagForUnderAgeOfConsent` property, a Boolean value indicating if a user is under the age of consent.  Additionally, the `debugSettings` property, of type `UMPDebugSettings`, can be set to configure debug settings for the consent request, allowing for detailed control during development and testing. These are set in Objective-C and Swift by using properties.\n"]]