Method: hashList.get
    
    
      
    
    
      
      使用集合让一切井井有条
    
    
      
      根据您的偏好保存内容并对其进行分类。
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
    
    
    
      
      
      
      
        
          HTTP 请求
          GET https://safebrowsing.googleapis.com/v5alpha1/hashList/{name}
网址采用 gRPC 转码语法。
        
        
          路径参数
          
            
              
              
            
            
              
                | 参数 | 
            
            
              
                | name | string
 必需。此特定哈希列表的名称。它可以是威胁列表,也可以是全局缓存。 | 
            
          
        
        
          查询参数
          
            
              
              
            
            
              
                | 参数 | 
            
            
              
                | version | string (bytes format)
 客户端已有的哈希列表的版本。如果这是客户端首次提取哈希列表,则此字段必须留空。否则,客户端应提供之前从服务器收到的版本。客户端不得操纵这些字节。 v5 中的新变化:在 API 的 v4 中,此参数名为 states;为清楚起见,现已重命名为version。 使用 base64 编码的字符串。 | 
              
                | sizeConstraints | object (SizeConstraints)
 列表的大小限制。如果省略,则表示无限制。建议在处理能力、带宽或存储空间有限的所有设备上使用限制。 | 
            
          
        
        
        
          响应正文
          如果成功,则响应正文包含一个 HashList 实例。
        
      
    
  
  
  
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2025-07-25。
  
  
  
    
      [[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[],["This document details retrieving a hash list (threat or non-threat) using a `GET` request. The URL is structured as `https://safebrowsing.googleapis.com/v5alpha1/hashList/{name}`, with `name` being a required path parameter.  Optional query parameters include `version` (client's current list version), `desiredHashLength` (hash prefix length), and `sizeConstraints` (list size limits). The request body is empty, and a successful response returns a `HashList` instance.\n"]]