Action
Action
Information about the action.
JSON representation
|
{
"detail": {
object (ActionDetail )
},
"actor": {
object (Actor )
},
"target": {
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 .
}
|
Fields
|
detail
|
object (ActionDetail )
The type and detailed information about the action.
|
actor
|
object (Actor )
The actor responsible for this action (or empty if all actors are responsible).
|
target
|
object (Target )
The target this action affects (or empty if affecting all targets). This represents the state of the target immediately after this action occurred.
|
Union field
time . When the action occurred (or empty if same time as entire activity).
time
can be only one of the following:
|
timestamp
|
string (Timestamp
format)
The action occurred at this specific time.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:
"2014-10-02T15:01:23Z"
and
"2014-10-02T15:01:23.045123456Z" .
|
timeRange
|
object (TimeRange )
The action occurred over this time range.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-04 UTC.
[null,null,["Last updated 2024-09-04 UTC."],[[["Drive Activity API provides detailed information about actions performed on files within Google Drive."],["Each activity record includes specifics on the action, the actor who performed it, and the target file or folder affected."],["The `detail` field offers further information about the type of action, such as creating, editing, or moving a file."],["Activity records are timestamped for precise tracking of when the action took place, potentially within a specific time range."],["`actor`, `target`, and `time` fields provide context and allow for filtering and analysis of activity data."]]],[]]