Class: Google::Apis::DriveactivityV2::Restore
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::Restore
- 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
A deleted object was restored.
Instance Attribute Summary collapse
-
#type ⇒ String
The type of restore action taken.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Restore
constructor
A new instance of Restore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Restore
Returns a new instance of Restore.
1218 1219 1220 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1218 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
The type of restore action taken.
Corresponds to the JSON property type
1216 1217 1218 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1216 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1223 1224 1225 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1223 def update!(**args) @type = args[:type] if args.key?(:type) end |