class Google::Apis::DriveactivityV2::ActionDetail

Data describing the type and additional information of an action.

Attributes

comment[RW]

A change about comments on an object. Corresponds to the JSON property `comment` @return [Google::Apis::DriveactivityV2::Comment]

create[RW]

An object was created. Corresponds to the JSON property `create` @return [Google::Apis::DriveactivityV2::Create]

delete[RW]

An object was deleted. Corresponds to the JSON property `delete` @return [Google::Apis::DriveactivityV2::Delete]

dlp_change[RW]

A change in the object's data leak prevention status. Corresponds to the JSON property `dlpChange` @return [Google::Apis::DriveactivityV2::DataLeakPreventionChange]

edit[RW]

An empty message indicating an object was edited. Corresponds to the JSON property `edit` @return [Google::Apis::DriveactivityV2::Edit]

move[RW]

An object was moved. Corresponds to the JSON property `move` @return [Google::Apis::DriveactivityV2::Move]

permission_change[RW]

A change of the permission setting on an item. Corresponds to the JSON property `permissionChange` @return [Google::Apis::DriveactivityV2::PermissionChange]

reference[RW]

Activity in applications other than Drive. Corresponds to the JSON property `reference` @return [Google::Apis::DriveactivityV2::ApplicationReference]

rename[RW]

An object was renamed. Corresponds to the JSON property `rename` @return [Google::Apis::DriveactivityV2::Rename]

restore[RW]

A deleted object was restored. Corresponds to the JSON property `restore` @return [Google::Apis::DriveactivityV2::Restore]

settings_change[RW]

Information about settings changes. Corresponds to the JSON property `settingsChange` @return [Google::Apis::DriveactivityV2::SettingsChange]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/driveactivity_v2/classes.rb, line 127
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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