Account Summaries

如需了解此资源的方法列表,请参阅本页结尾部分。

资源表示形式

用于 Google Analytics(分析)AccountSummary 的 JSON 模板。AccountSummary 是一个由媒体资源/配置文件组成的简明树状视图。

{
  "id": string,
  "kind": "analytics#accountSummary",
  "name": string,
  "starred": boolean,
  "webProperties": [
    {
      "kind": "analytics#webPropertySummary",
      "id": string,
      "name": string,
      "internalWebPropertyId": string,
      "level": string,
      "websiteUrl": string,
      "starred": boolean,
      "profiles": [
        {
          "kind": "analytics#profileSummary",
          "id": string,
          "name": string,
          "type": string,
          "starred": boolean
        }
      ]
    }
  ]
}
属性名称 说明 备注
id string 账户 ID。
kind string Google Analytics(分析)AccountSummary 的资源类型。
name string 账号名称。
starred boolean 表示此账号是否已加星标。
webProperties[] list 此账号下的网络媒体资源列表。
webProperties[].id string 格式为 UA-XXXXX-YY 的网络媒体资源 ID。
webProperties[].internalWebPropertyId string 此网络媒体资源的内部 ID。
webProperties[].kind string Google Analytics(分析)WebPropertySummary 的资源类型。
webProperties[].level string 此网络媒体资源的级别。可能的值包括“STANDARD”或“PREMIUM”。
webProperties[].name string 网络媒体资源名称。
webProperties[].profiles[] list 此网络媒体资源下的配置文件列表。
webProperties[].profiles[].id string 数据视图(配置文件)ID。
webProperties[].profiles[].kind string Google Analytics(分析)ProfileSummary 的资源类型。
webProperties[].profiles[].name string 数据视图(配置文件)名称。
webProperties[].profiles[].starred boolean 表示此数据视图(配置文件)是否已加星标。
webProperties[].profiles[].type string 数据视图(配置文件)类型。支持的类型:WEB 或 APP。
webProperties[].starred boolean 表示此网络媒体资源是否已加星标。
webProperties[].websiteUrl string 此网络媒体资源的网站网址。

方法

list
列出用户有访问权限的帐号摘要(由帐号/媒体资源/配置文件组成的简明树状视图)。