GoogleApi.DriveActivity.V2.Model.ConsolidationStrategy (google_api_drive_activity v0.9.0)

View Source

How the individual activities are consolidated. If a set of activities is related they can be consolidated into one combined activity, 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

  • legacy (type: GoogleApi.DriveActivity.V2.Model.Legacy.t, default: nil) - The individual activities are consolidated using the legacy strategy.
  • none (type: GoogleApi.DriveActivity.V2.Model.NoConsolidation.t, default: nil) - The individual activities are not consolidated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DriveActivity.V2.Model.ConsolidationStrategy{
  legacy: GoogleApi.DriveActivity.V2.Model.Legacy.t() | nil,
  none: GoogleApi.DriveActivity.V2.Model.NoConsolidation.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.