Class: Google::Apis::DriveactivityV2::ActionDetail
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::ActionDetail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/driveactivity_v2/classes.rb,
lib/google/apis/driveactivity_v2/representations.rb,
lib/google/apis/driveactivity_v2/representations.rb
Overview
Data describing the type and additional information of an action.
Instance Attribute Summary collapse
-
#applied_label_change ⇒ Google::Apis::DriveactivityV2::AppliedLabelChange
Label changes that were made on the Target.
-
#comment ⇒ Google::Apis::DriveactivityV2::Comment
A change about comments on an object.
-
#create ⇒ Google::Apis::DriveactivityV2::Create
An object was created.
-
#delete ⇒ Google::Apis::DriveactivityV2::Delete
An object was deleted.
-
#dlp_change ⇒ Google::Apis::DriveactivityV2::DataLeakPreventionChange
A change in the object's data leak prevention status.
-
#edit ⇒ Google::Apis::DriveactivityV2::Edit
An empty message indicating an object was edited.
-
#move ⇒ Google::Apis::DriveactivityV2::Move
An object was moved.
-
#permission_change ⇒ Google::Apis::DriveactivityV2::PermissionChange
A change of the permission setting on an item.
-
#reference ⇒ Google::Apis::DriveactivityV2::ApplicationReference
Activity in applications other than Drive.
-
#rename ⇒ Google::Apis::DriveactivityV2::Rename
An object was renamed.
-
#restore ⇒ Google::Apis::DriveactivityV2::Restore
A deleted object was restored.
-
#settings_change ⇒ Google::Apis::DriveactivityV2::SettingsChange
Information about settings changes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ActionDetail
constructor
A new instance of ActionDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ActionDetail
Returns a new instance of ActionDetail.
132 133 134 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 132 def initialize(**args) update!(**args) end |
Instance Attribute Details
#applied_label_change ⇒ Google::Apis::DriveactivityV2::AppliedLabelChange
Label changes that were made on the Target.
Corresponds to the JSON property appliedLabelChange
75 76 77 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 75 def applied_label_change @applied_label_change end |
#comment ⇒ Google::Apis::DriveactivityV2::Comment
A change about comments on an object.
Corresponds to the JSON property comment
80 81 82 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 80 def comment @comment end |
#create ⇒ Google::Apis::DriveactivityV2::Create
An object was created.
Corresponds to the JSON property create
85 86 87 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 85 def create @create end |
#delete ⇒ Google::Apis::DriveactivityV2::Delete
An object was deleted.
Corresponds to the JSON property delete
90 91 92 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 90 def delete @delete end |
#dlp_change ⇒ Google::Apis::DriveactivityV2::DataLeakPreventionChange
A change in the object's data leak prevention status.
Corresponds to the JSON property dlpChange
95 96 97 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 95 def dlp_change @dlp_change end |
#edit ⇒ Google::Apis::DriveactivityV2::Edit
An empty message indicating an object was edited.
Corresponds to the JSON property edit
100 101 102 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 100 def edit @edit end |
#move ⇒ Google::Apis::DriveactivityV2::Move
An object was moved.
Corresponds to the JSON property move
105 106 107 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 105 def move @move end |
#permission_change ⇒ Google::Apis::DriveactivityV2::PermissionChange
A change of the permission setting on an item.
Corresponds to the JSON property permissionChange
110 111 112 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 110 def @permission_change end |
#reference ⇒ Google::Apis::DriveactivityV2::ApplicationReference
Activity in applications other than Drive.
Corresponds to the JSON property reference
115 116 117 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 115 def reference @reference end |
#rename ⇒ Google::Apis::DriveactivityV2::Rename
An object was renamed.
Corresponds to the JSON property rename
120 121 122 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 120 def rename @rename end |
#restore ⇒ Google::Apis::DriveactivityV2::Restore
A deleted object was restored.
Corresponds to the JSON property restore
125 126 127 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 125 def restore @restore end |
#settings_change ⇒ Google::Apis::DriveactivityV2::SettingsChange
Information about settings changes.
Corresponds to the JSON property settingsChange
130 131 132 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 130 def settings_change @settings_change end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 137 def update!(**args) @applied_label_change = args[:applied_label_change] if args.key?(:applied_label_change) @comment = args[:comment] if args.key?(:comment) @create = args[:create] if args.key?(:create) @delete = args[:delete] if args.key?(:delete) @dlp_change = args[:dlp_change] if args.key?(:dlp_change) @edit = args[:edit] if args.key?(:edit) @move = args[:move] if args.key?(:move) @permission_change = args[:permission_change] if args.key?(:permission_change) @reference = args[:reference] if args.key?(:reference) @rename = args[:rename] if args.key?(:rename) @restore = args[:restore] if args.key?(:restore) @settings_change = args[:settings_change] if args.key?(:settings_change) end |