Unsampled Reports

如需本資源的方法清單,請見本頁結尾。

資源表示法

Analytics (分析) 未取樣報表資源的 JSON 範本。

{
  "id": string,
  "kind": "analytics#unsampledReport",
  "selfLink": string,
  "title": string,
  "accountId": string,
  "webPropertyId": string,
  "profileId": string,
  "start-date": string,
  "end-date": string,
  "metrics": string,
  "dimensions": string,
  "filters": string,
  "segment": string,
  "status": string,
  "downloadType": string,
  "driveDownloadDetails": {
    "documentId": string
  },
  "cloudStorageDownloadDetails": {
    "bucketId": string,
    "objectId": string
  },
  "created": datetime,
  "updated": datetime
}
資源名稱 說明 附註
accountId string 此未取樣報表所屬的帳戶 ID。
cloudStorageDownloadDetails object 下載儲存在 Google Cloud Storage 中的檔案詳細資料。
cloudStorageDownloadDetails.bucketId string 檔案物件儲存的值區 ID。
cloudStorageDownloadDetails.objectId string 包含報表資料的檔案物件 ID。
created datetime 這份未取樣報表的建立時間。
dimensions string 未取樣報表的維度。 可寫入
downloadType string 報表資料檔案所使用的下載類型。可能的值包括「GOOGLE_DRIVE」和「GOOGLE_CLOUD_STORAGE」。如果值為「GOOGLE_DRIVE」,請參閱「driveDownloadDetails」欄位。如果值為「GOOGLE_CLOUD_STORAGE」,請參閱「cloudStorageDownloadDetails」欄位。
driveDownloadDetails object 下載儲存在 Google 雲端硬碟中的檔案詳細資料。
driveDownloadDetails.documentId string 包含報表資料的文件/檔案 ID。
end-date string 未取樣報表的結束日期。 可寫入
filters string 未取樣報表的篩選器。 可寫入
id string 未取樣報表 ID。
kind string Analytics (分析) 未取樣報表的資源類型。
metrics string 未取樣報表的指標。 可寫入
profileId string 此未取樣報表所屬的資料檢視 (設定檔) ID。
segment string 未取樣報表的區隔。 可寫入
start-date string 未取樣報表的開始日期。 可寫入
status string 這份未取樣報表的狀態。可能的值包括「PENDING」、「COMPLETED」或「FAILED」。
title string 未取樣報表的標題。 可寫入
updated datetime 上次修改這份未取樣報表的時間。
webPropertyId string 此未取樣報表所屬的網站資源 ID。網站資源 ID 的格式為 UA-XXXXX-YY。

方法

刪除
刪除未取樣報表。
get
傳回一份未取樣報表。
插入
建立新的未取樣報表。
list
列出使用者有權存取的未取樣報表。