发送反馈
DriveActivity
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:DriveActivity
包含一个或多个操作者对一个或多个目标的一个或多个操作的单个云端硬盘活动。一些操作分组会自发发生,例如,将某项内容移到共享文件夹中会触发权限更改。相关 Action 的其他分组(例如,多个操作者编辑一个项或将多个文件移动到一个新文件夹)由在 QueryDriveActivityRequest 中选择“合并策略”控制。
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
)
关于此活动的主要操作的关键信息。根据请求中的整合策略,这代表相应活动的所有操作,或者是最重要的所有操作。
actors[]
object (Actor
)
负责相应活动的所有演员。
actions[]
object (Action
)
有关此 activity 中所有操作的详细信息。
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-05-12。
[{
"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":"其他"
}]
需要向我们提供更多信息?