Class: Google::Apis::AppsactivityV1::Activity
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AppsactivityV1::Activity
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appsactivity_v1/classes.rb,
 generated/google/apis/appsactivity_v1/representations.rb,
 generated/google/apis/appsactivity_v1/representations.rb
Overview
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.
Instance Attribute Summary collapse
- 
  
    
      #combined_event  ⇒ Google::Apis::AppsactivityV1::Event 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Represents the changes associated with an action taken by a user. 
- 
  
    
      #single_events  ⇒ Array<Google::Apis::AppsactivityV1::Event> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of all the Events that make up the Activity. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Activity 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Activity. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Activity
Returns a new instance of Activity
| 41 42 43 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 41 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#combined_event ⇒ Google::Apis::AppsactivityV1::Event
Represents the changes associated with an action taken by a user.
Corresponds to the JSON property combinedEvent
| 34 35 36 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 34 def combined_event @combined_event end | 
#single_events ⇒ Array<Google::Apis::AppsactivityV1::Event>
A list of all the Events that make up the Activity.
Corresponds to the JSON property singleEvents
| 39 40 41 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 39 def single_events @single_events end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 46 47 48 49 | # 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 |