class Google::Apis::DriveactivityV2::ConsolidationStrategy
How the individual activities are consolidated. A set of activities may be consolidated into one combined activity if they are related in some way, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related.
Attributes
A strategy which consolidates activities using the grouping rules from the legacy V1 Activity API. Similar actions occurring within a window of time can be grouped across multiple targets (such as moving a set of files at once) or multiple actors (such as several users editing the same item). Grouping rules for this strategy are specific to each type of action. Corresponds to the JSON property `legacy` @return [Google::Apis::DriveactivityV2::Legacy]
A strategy which does no consolidation of individual activities. Corresponds to the JSON property `none` @return [Google::Apis::DriveactivityV2::NoConsolidation]
Public Class Methods
# File lib/google/apis/driveactivity_v2/classes.rb, line 335 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/driveactivity_v2/classes.rb, line 340 def update!(**args) @legacy = args[:legacy] if args.key?(:legacy) @none = args[:none] if args.key?(:none) end