Class: Google::Apis::AppsactivityV1::Move
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AppsactivityV1::Move
 
- 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
Contains information about changes in an object's parents as a result of a move type event.
Instance Attribute Summary collapse
- 
  
    
      #added_parents  ⇒ Array<Google::Apis::AppsactivityV1::Parent> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The added parent(s). 
- 
  
    
      #removed_parents  ⇒ Array<Google::Apis::AppsactivityV1::Parent> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The removed parent(s). 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Move 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Move. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Move
Returns a new instance of Move
| 165 166 167 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 165 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#added_parents ⇒ Array<Google::Apis::AppsactivityV1::Parent>
The added parent(s).
Corresponds to the JSON property addedParents
| 158 159 160 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 158 def added_parents @added_parents end | 
#removed_parents ⇒ Array<Google::Apis::AppsactivityV1::Parent>
The removed parent(s).
Corresponds to the JSON property removedParents
| 163 164 165 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 163 def removed_parents @removed_parents end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 170 171 172 173 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 170 def update!(**args) @added_parents = args[:added_parents] if args.key?(:added_parents) @removed_parents = args[:removed_parents] if args.key?(:removed_parents) end |