TosError
    
    
      
    
    
      
      使用集合让一切井井有条
    
    
      
      根据您的偏好保存内容并对其进行分类。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
        出现服务条款 (ToS) 错误。如果用户(由 OAuth 凭据表示)尚未接受最新版本的零触摸注册服务条款,API 方法会返回 HTTP 403 Forbidden 状态代码。
API 用户可以登录零触摸注册门户来接受新的或更新后的服务条款。此门户会在用户登录时向其显示 aToS 接受面板。
      
      
        
          
            
              | JSON 表示法 | 
          
          
            
              | {
  "latestTosAccepted": boolean
} | 
          
        
      
      
        
          
            
              | 字段 | 
          
          
            
              | latestTosAccepted | boolean
 用户是否已接受最新版本的服务条款。如果包含在错误中,则值为 false。 | 
          
        
      
    
  
  
  
  
 
  
    
    
      
       
    
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2025-07-25。
  
  
  
    
      [null,null,["最后更新时间 (UTC):2025-07-25。"],[],["The API returns a `403 Forbidden` error when a user hasn't accepted the latest Terms of Service (ToS). Users can accept the ToS via the zero-touch enrollment portal. The JSON representation for ToS status includes a boolean field, `latestTosAccepted`. This field is `false` in error responses, indicating that the user needs to accept the latest ToS. Access the zero-touch enrollment portal to accept the ToS.\n"]]