WebResource
    
    
      
    
    
      
      使用集合让一切井井有条
    
    
      
      根据您的偏好保存内容并对其进行分类。
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
    
  WebResource 代表经过验证的网站或网域。
它包含网站或网域的规范 ID、网址或域名,以及所有者列表。请注意,所有者列表始终包含经过身份验证的用户,因为只有可以访问 WebResource 的用户是经过身份验证的用户(即该网站或网域的所有者)。
  有关此类资源的方法列表,请参阅本页面的结尾部分。
  资源表示法
    
  
    {
  "id": string,
  "site": {
    "type": string,
    "identifier": string
  },
  "owners": [
    string
  ]
}
    
      
        
          | 属性名称 | 值 | 说明 | 备注 | 
      
      
      
        | id | string | 用于标识此网站的字符串。此值应该用于 get、update 和 delete 操作的 REST 网址的 id 部分。 |  | 
      
        | owners[] | list | 此确切资源所有经过验证的直接所有者的电子邮件地址。此列表中不包含间接所有者,例如所属网域的经过验证的所有者。 |  | 
      
        | site | object | 已验证或即将验证的网站的地址和类型的容器。 |  | 
      
        | site.identifier | string | 网站标识符,它采用不同的形式,具体取决于 type属性的值。 |  | 
      
        | site.type | string | 网站类型。 
 可接受的值包括:
 
            “ANDROID_APP”:将identifier设为 Android 应用网址。Example: "android-app://com.google.android.youtube/"“INET_DOMAIN”:将identifier设置为域名。示例:“www.example.com”、“example.com”或“subdomain.example.com”“SITE”:将identifier设置为网站根目录的完全限定网址(以标记 / 结尾)。Examples: "https://www.example.com/"或“https://www.example.com/subsite/” |  | 
      
    
  
     
  
  
  
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 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。"],[],["A WebResource represents a verified website or domain, identified by an `id`, `site` (type and identifier), and a list of `owners`, which always includes the authenticated user. Key actions include using `insert` to verify ownership, `get`, `update`, and `delete` to manage existing resources, `list` to view verified sites, and `getToken` to obtain a verification token. Site `type` can be `ANDROID_APP`, `INET_DOMAIN`, or `SITE`, with corresponding identifier formats.\n"]]