提供意見
DriveActivity
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:DriveActivity
單一雲端硬碟活動,這類活動包含一或多個目標上一或多個演員對一或多個目標的動作。部分動作分組是同時啟動,例如將項目移至共用資料夾,觸發權限變更。其他相關動作群組 (例如多位演員編輯一個項目或將多個檔案移至新資料夾) 則是由在 QueryDriveActivityRequest 中選取 ConsolidationStrategy 所控管。
JSON 表示法
{
"primaryActionDetail" : {
object (ActionDetail
)
} ,
"actors" : [
{
object (Actor
)
}
] ,
"actions" : [
{
object (Action
)
}
] ,
"targets" : [
{
object (Target
)
}
] ,
// Union field time
can be only one of the following:
"timestamp" : string ,
"timeRange" : {
object (TimeRange
)
}
// End of list of possible types for union field time
.
}
欄位
primaryActionDetail
object (ActionDetail
)
這個活動的主要動作重要資訊。根據要求中的 ConsolidationStrategy,此屬性為活動中所有動作的代表性或最重要的。
actors[]
object (Actor
)
負責處理該活動的所有操作者。
actions[]
object (Action
)
此活動中的所有動作詳細資料。
targets[]
object (Target
)
與這項活動相關的所有 Google 雲端硬碟物件 (例如檔案、資料夾、雲端硬碟)。這代表目標在動作發生後立即的狀態。
聯集欄位 time
。此活動發生的時間範圍。
time
只能採用下列其中一種格式:
timestamp
string (Timestamp
format)
活動在特定時間發生。
RFC3339 世界標準時間「Zulu」格式的時間戳記,採用奈秒解析度,且最多 9 個小數位數。範例:"2014-10-02T15:01:23Z"
和 "2014-10-02T15:01:23.045123456Z"
。
timeRange
object (TimeRange
)
活動發生於這個時間範圍內。
提供意見
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權 ,程式碼範例則為阿帕契 2.0 授權 。詳情請參閱《Google Developers 網站政策 》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-01 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
想進一步說明嗎?