Show / Hide Table of Contents

Class DriveActivity

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.

Inheritance
System.Object
DriveActivity
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DriveActivity.v2.Data
Assembly: Google.Apis.DriveActivity.v2.dll
Syntax
public class DriveActivity : IDirectResponseSchema

Properties

Actions

Details on all actions in this activity.

Declaration
[JsonProperty("actions")]
public virtual IList<Action> Actions { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<Action>

Actors

All actor(s) responsible for the activity.

Declaration
[JsonProperty("actors")]
public virtual IList<Actor> Actors { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<Actor>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

PrimaryActionDetail

Key information about the primary action for this activity. This is either representative, or the most important, of all actions in the activity, according to the ConsolidationStrategy in the request.

Declaration
[JsonProperty("primaryActionDetail")]
public virtual ActionDetail PrimaryActionDetail { get; set; }
Property Value
Type Description
ActionDetail

Targets

All Google Drive objects this activity is about (e.g. file, folder, drive). This represents the state of the target immediately after the actions occurred.

Declaration
[JsonProperty("targets")]
public virtual IList<Target> Targets { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<Target>

TimeRange

The activity occurred over this time range.

Declaration
[JsonProperty("timeRange")]
public virtual TimeRange TimeRange { get; set; }
Property Value
Type Description
TimeRange

Timestamp

The activity occurred at this specific time.

Declaration
[JsonProperty("timestamp")]
public virtual object Timestamp { get; set; }
Property Value
Type Description
System.Object

Implements

IDirectResponseSchema
Back to top