Send feedback
  
   
 
  
    
      Method: projects.androidApps.getConfig
    
    
      
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
  
  
   
  
  
    
    
    
      
      
        Gets the configuration artifact associated with the specified AndroidApp 
       
      
        
          HTTP request 
          GET https://firebase.googleapis.com/v1beta1/{name=projects/*/androidApps/*/config}
The URL uses gRPC Transcoding  syntax.
         
        
          Path parameters 
          
            
               
            
              
                Parameters 
               
             
            
              
                name
                  string
                  The resource name of the AndroidApp 
                  projects/PROJECT_IDENTIFIER /androidApps/APP_ID /config
                  APP_ID  is a unique identifier, the Unique Resource from Sub-Collection access pattern may be used here, in the format:
                  projects/-/androidApps/APP_ID 
                  AndroidApp namePROJECT_IDENTIFIER  and APP_ID  values.
                 
               
             
          
         
        
          Request body 
          The request body must be empty.
         
        
          Response body 
          
            
              Configuration metadata of a single Firebase App for Android.
              If successful, the response body contains data with the following structure:
             
            
              
                
                  
                    JSON representation 
                   
                 
                
                  
                    
{ 
  "configFilename" :  string , 
  "configFileContents" :  string 
}  
                 
              
             
            
              
                
                   
                
                  
                    Fields 
                   
                 
                
                  
                    configFilename 
                      string
                      The filename that the configuration artifact for the AndroidApp is typically saved as. google-services.json
                     
                   
                  
                    configFileContents  
                      string (bytes  format)
                      The contents of the JSON configuration file.
A base64-encoded string.
                     
                   
                 
              
             
           
         
        
          Authorization scopes 
          Requires one of the following OAuth scopes:
          
            https://www.googleapis.com/auth/cloud-platform
          https://www.googleapis.com/auth/cloud-platform.read-only
          https://www.googleapis.com/auth/firebase
          https://www.googleapis.com/auth/firebase.readonly For more information, see the Authentication Overview .
         
       
      
     
  
  
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  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 2024-10-24 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["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 2024-10-24 UTC."],[],[]]