class Google::Apis::DriveactivityV2::PermissionChange
A change of the permission setting on an item.
Attributes
added_permissions[RW]
The set of permissions added by this change. Corresponds to the JSON property `addedPermissions` @return [Array<Google::Apis::DriveactivityV2::Permission>]
removed_permissions[RW]
The set of permissions removed by this change. Corresponds to the JSON property `removedPermissions` @return [Array<Google::Apis::DriveactivityV2::Permission>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/driveactivity_v2/classes.rb, line 1061 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 1066 def update!(**args) @added_permissions = args[:added_permissions] if args.key?(:added_permissions) @removed_permissions = args[:removed_permissions] if args.key?(:removed_permissions) end