Class: Google::Apis::DriveactivityV2::Move
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::Move
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/driveactivity_v2/classes.rb,
generated/google/apis/driveactivity_v2/representations.rb,
generated/google/apis/driveactivity_v2/representations.rb
Overview
An object was moved.
Instance Attribute Summary collapse
-
#added_parents ⇒ Array<Google::Apis::DriveactivityV2::TargetReference>
The added parent object(s).
-
#removed_parents ⇒ Array<Google::Apis::DriveactivityV2::TargetReference>
The removed parent object(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
801 802 803 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 801 def initialize(**args) update!(**args) end |
Instance Attribute Details
#added_parents ⇒ Array<Google::Apis::DriveactivityV2::TargetReference>
The added parent object(s).
Corresponds to the JSON property addedParents
794 795 796 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 794 def added_parents @added_parents end |
#removed_parents ⇒ Array<Google::Apis::DriveactivityV2::TargetReference>
The removed parent object(s).
Corresponds to the JSON property removedParents
799 800 801 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 799 def removed_parents @removed_parents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
806 807 808 809 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 806 def update!(**args) @added_parents = args[:added_parents] if args.key?(:added_parents) @removed_parents = args[:removed_parents] if args.key?(:removed_parents) end |