class Google::Apis::AppsactivityV1::Activity

An Activity resource is a combined view of multiple events. An activity has a list of individual events and a combined view of the common fields among all events.

Attributes

combined_event[RW]

Represents the changes associated with an action taken by a user. Corresponds to the JSON property `combinedEvent` @return [Google::Apis::AppsactivityV1::Event]

single_events[RW]

A list of all the Events that make up the Activity. Corresponds to the JSON property `singleEvents` @return [Array<Google::Apis::AppsactivityV1::Event>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/appsactivity_v1/classes.rb, line 41
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/appsactivity_v1/classes.rb, line 46
def update!(**args)
  @combined_event = args[:combined_event] if args.key?(:combined_event)
  @single_events = args[:single_events] if args.key?(:single_events)
end