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.
Constructor Details
#initialize(**args) ⇒ Copy
Returns a new instance of Copy.
355 356 357 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 355 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
353 354 355 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 353 def original_object @original_object end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
360 361 362 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 360 def update!(**args) @original_object = args[:original_object] if args.key?(:original_object) end |