DriveActivity class

A single Drive activity comprising one or more Actions by one or more Actors on one or more Targets.

Some Action groupings occur spontaneously, such as moving an item into a shared folder triggering a permission change. Other groupings of related Actions, such as multiple Actors editing one item or moving multiple files into a new folder, are controlled by the selection of a ConsolidationStrategy in the QueryDriveActivityRequest.

Constructors

DriveActivity({List<Action>? actions, List<Actor>? actors, ActionDetail? primaryActionDetail, List<Target>? targets, TimeRange? timeRange, String? timestamp})
DriveActivity.fromJson(Map json_)

Properties

actions List<Action>?
Details on all actions in this activity.
getter/setter pair
actors List<Actor>?
All actor(s) responsible for the activity.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
primaryActionDetail ActionDetail?
Key information about the primary action for this activity.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targets List<Target>?
All Google Drive objects this activity is about (e.g. file, folder, drive).
getter/setter pair
timeRange TimeRange?
The activity occurred over this time range.
getter/setter pair
timestamp String?
The activity occurred at this specific time.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited