Account Summaries

Để biết danh sách các phương thức của tài nguyên này, hãy xem ở cuối trang này.

Biểu thị tài nguyên

Mẫu JSON cho một Tóm tắt tài khoản Analytics. AccountSummary là một cây gọn nhẹ bao gồm các thuộc tính/hồ sơ.

{
  "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
        }
      ]
    }
  ]
}
Tên tài sản Giá trị Nội dung mô tả Ghi chú
id string Mã tài khoản.
kind string Loại tài nguyên cho Tóm tắt tài khoản Analytics.
name string Tên tài khoản.
starred boolean Cho biết tài khoản này có được gắn dấu sao hay không.
webProperties[] list Danh sách các thuộc tính web trong tài khoản này.
webProperties[].id string ID thuộc tính web có dạng UA-XXXXX-YY.
webProperties[].internalWebPropertyId string Mã nhận dạng nội bộ cho tài sản web này.
webProperties[].kind string Loại tài nguyên cho Analytics WebPropertySummary.
webProperties[].level string Cấp cho thuộc tính web này. Giá trị có thể là STANDARD hoặc PREMIUM.
webProperties[].name string Tên thuộc tính web.
webProperties[].profiles[] list Danh sách các hồ sơ trong thuộc tính web này.
webProperties[].profiles[].id string Mã chế độ xem (hồ sơ).
webProperties[].profiles[].kind string Loại tài nguyên cho Tóm tắt hồ sơ Analytics.
webProperties[].profiles[].name string Tên chế độ xem (hồ sơ).
webProperties[].profiles[].starred boolean Cho biết liệu chế độ xem (hồ sơ) này có được gắn dấu sao hay không.
webProperties[].profiles[].type string Loại chế độ xem (Hồ sơ). Các loại được hỗ trợ: WEB hoặc APP.
webProperties[].starred boolean Cho biết thuộc tính web này có được gắn dấu sao hay không.
webProperties[].websiteUrl string URL của trang web cho thuộc tính web này.

Phương thức

list
Liệt kê các bản tóm tắt tài khoản (cây nhỏ bao gồm tài khoản/tài sản/hồ sơ) mà người dùng có quyền truy cập.