发送反馈
DriveActivity
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:DriveActivity
一个云端硬盘活动,由一个或多个操作者对一个或多个目标执行的一个或多个操作构成。某些操作分组是自发的,例如将某项内容移至某个共享文件夹中触发了权限更改。相关 Action 的其他分组(例如,多位执行者修改一项内容,或将多个文件移至新文件夹)则是通过在 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,该 activity 是该 activity 中所有操作的代表性或最重要的操作。
actors[]
object (Actor
)
负责活动的所有操作者。
actions[]
object (Action
)
此活动中所有操作的详细信息。
targets[]
object (Target
)
此活动涉及的所有 Google 云端硬盘对象(例如文件、文件夹和云端硬盘)。这表示目标在操作发生后立即所处的状态。
联合字段 time
。此活动发生的时间段。
time
只能是下列其中一项:
timestamp
string (Timestamp
format)
活动在此特定时间发生。
时间戳,采用 RFC3339 世界协调时间 (UTC)(即“祖鲁时”)格式,具有纳秒级分辨率,最多包含九个小数位。示例:"2014-10-02T15:01:23Z"
和 "2014-10-02T15:01:23.045123456Z"
。
timeRange
object (TimeRange
)
活动在此时间范围内发生。
发送反馈
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可 获得了许可,并且代码示例已根据 Apache 2.0 许可 获得了许可。有关详情,请参阅 Google 开发者网站政策 。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):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":"其他"
}]
需要向我们提供更多信息?