Class: Google::Apis::DriveactivityV2::Copy
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::Copy
- 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 created by copying an existing object.
Instance Attribute Summary collapse
-
#original_object ⇒ Google::Apis::DriveactivityV2::TargetReference
A lightweight reference to the target of activity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Copy
constructor
A new instance of Copy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Copy
Returns a new instance of Copy
349 350 351 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 349 def initialize(**args) update!(**args) end |
Instance Attribute Details
#original_object ⇒ Google::Apis::DriveactivityV2::TargetReference
A lightweight reference to the target of activity.
Corresponds to the JSON property originalObject
347 348 349 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 347 def original_object @original_object end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
354 355 356 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 354 def update!(**args) @original_object = args[:original_object] if args.key?(:original_object) end |