Send feedback
  
   
 
  
    
      Class LazyApiProxyEnvironment (2.0.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
    
    
    
    
      
  
  
  
    
public   class  LazyApiProxyEnvironment   implements   ApiProxy . Environment  
  
  
  
  Constructors
   
  LazyApiProxyEnvironment(Supplier<ApiProxyEnvironment> supplier) 
  
    
public   LazyApiProxyEnvironment ( Supplier<ApiProxyEnvironment>   supplier )  
  
  Methods
   
  aSyncApiCallAdded(long maxWaitMs) 
  
    
public   void   aSyncApiCallAdded ( long   maxWaitMs )  
  
    
      
        Parameter  
      
        Name Description  
      
        maxWaitMslong  
     
  
  
  addLogRecord(ApiProxy.LogRecord record) 
  
    
public   void   addLogRecord ( ApiProxy . LogRecord   record )  
  
  apiCallCompleted() 
  
    
public   void   apiCallCompleted ()  
  apiCallStarted(long maxWaitMs, boolean releasePendingCall) 
  
    
public   void   apiCallStarted ( long   maxWaitMs ,   boolean   releasePendingCall )  
  
    
      
        Parameters  
      
        Name Description  
      
        maxWaitMslong  
      
        releasePendingCallboolean  
     
  
  
  flushLogs() 
  
  getAppId() 
  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getAttributes() 
  
    
public   Map<String , Object >  getAttributes ()  
  
  getAuthDomain() 
  
    
public   String   getAuthDomain ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getEmail() 
  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getModuleId() 
  
    
public   String   getModuleId ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getRemainingMillis() 
  
    
public   long   getRemainingMillis ()  
  
    
      
        Returns  
      
        Type Description  
      
        long  
     
  
  getRequestNamespace() 
  
    
public   String   getRequestNamespace ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getServer() 
  
    
public   String   getServer ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getTicket() 
  
    
public   String   getTicket ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getVersionId() 
  
    
public   String   getVersionId ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  isAdmin() 
  
  
  isLoggedIn() 
  
    
public   boolean   isLoggedIn ()  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    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 2025-10-16 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-16 UTC."],[],[]]