class Google::Apis::AppsactivityV1::Event
Represents the changes associated with an action taken by a user.
Attributes
Additional event types. Some events may have multiple types when multiple actions are part of a single event. For example, creating a document, renaming it, and sharing it may be part of a single file-creation event. Corresponds to the JSON property `additionalEventTypes` @return [Array<String>]
The time at which the event occurred formatted as Unix time in milliseconds. Corresponds to the JSON property `eventTimeMillis` @return [String]
Whether this event is caused by a user being deleted. Corresponds to the JSON property `fromUserDeletion` @return [Boolean]
Whether this event is caused by a user being deleted. Corresponds to the JSON property `fromUserDeletion` @return [Boolean]
Contains information about changes in an object's parents as a result of a move type event. Corresponds to the JSON property `move` @return [Google::Apis::AppsactivityV1::Move]
Extra information for permissionChange type events, such as the user or group the new permission applies to. Corresponds to the JSON property `permissionChanges` @return [Array<Google::Apis::AppsactivityV1::PermissionChange>]
The main type of event that occurred. Corresponds to the JSON property `primaryEventType` @return [String]
Contains information about a renametype event. Corresponds to the JSON property `rename` @return [Google::Apis::AppsactivityV1::Rename]
Information about the object modified by the event. Corresponds to the JSON property `target` @return [Google::Apis::AppsactivityV1::Target]
A representation of a user. Corresponds to the JSON property `user` @return [Google::Apis::AppsactivityV1::User]
Public Class Methods
# File generated/google/apis/appsactivity_v1/classes.rb, line 106 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/appsactivity_v1/classes.rb, line 111 def update!(**args) @additional_event_types = args[:additional_event_types] if args.key?(:additional_event_types) @event_time_millis = args[:event_time_millis] if args.key?(:event_time_millis) @from_user_deletion = args[:from_user_deletion] if args.key?(:from_user_deletion) @move = args[:move] if args.key?(:move) @permission_changes = args[:permission_changes] if args.key?(:permission_changes) @primary_event_type = args[:primary_event_type] if args.key?(:primary_event_type) @rename = args[:rename] if args.key?(:rename) @target = args[:target] if args.key?(:target) @user = args[:user] if args.key?(:user) end