class Google::Apis::DriveactivityV2::ActionDetail
Data describing the type and additional information of an action.
Attributes
A change about comments on an object. Corresponds to the JSON property `comment` @return [Google::Apis::DriveactivityV2::Comment]
An object was created. Corresponds to the JSON property `create` @return [Google::Apis::DriveactivityV2::Create]
An object was deleted. Corresponds to the JSON property `delete` @return [Google::Apis::DriveactivityV2::Delete]
A change in the object's data leak prevention status. Corresponds to the JSON property `dlpChange` @return [Google::Apis::DriveactivityV2::DataLeakPreventionChange]
An empty message indicating an object was edited. Corresponds to the JSON property `edit` @return [Google::Apis::DriveactivityV2::Edit]
An object was moved. Corresponds to the JSON property `move` @return [Google::Apis::DriveactivityV2::Move]
A change of the permission setting on an item. Corresponds to the JSON property `permissionChange` @return [Google::Apis::DriveactivityV2::PermissionChange]
Activity in applications other than Drive
. Corresponds to the JSON property `reference` @return [Google::Apis::DriveactivityV2::ApplicationReference]
An object was renamed. Corresponds to the JSON property `rename` @return [Google::Apis::DriveactivityV2::Rename]
A deleted object was restored. Corresponds to the JSON property `restore` @return [Google::Apis::DriveactivityV2::Restore]
Information about settings changes. Corresponds to the JSON property `settingsChange` @return [Google::Apis::DriveactivityV2::SettingsChange]
Public Class Methods
# File lib/google/apis/driveactivity_v2/classes.rb, line 127 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/driveactivity_v2/classes.rb, line 132 def update!(**args) @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