Class: Google::Apis::DriveactivityV2::Restore

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Restore

Returns a new instance of Restore



1099
1100
1101
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1099

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#typeString

The type of restore action taken. Corresponds to the JSON property type

Returns:

  • (String)


1097
1098
1099
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1097

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1104
1105
1106
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1104

def update!(**args)
  @type = args[:type] if args.key?(:type)
end