class Google::Apis::DriveactivityV2::Actor
The actor of a Drive
activity.
Attributes
Empty message representing an administrator. Corresponds to the JSON property `administrator` @return [Google::Apis::DriveactivityV2::Administrator]
Empty message representing an anonymous user or indicating the authenticated user should be anonymized. Corresponds to the JSON property `anonymous` @return [Google::Apis::DriveactivityV2::AnonymousUser]
Information about an impersonation, where an admin acts on behalf of an end user. Information about the acting admin is not currently available. Corresponds to the JSON property `impersonation` @return [Google::Apis::DriveactivityV2::Impersonation]
Event triggered by system operations instead of end users. Corresponds to the JSON property `system` @return [Google::Apis::DriveactivityV2::SystemEvent]
Information about an end user. Corresponds to the JSON property `user` @return [Google::Apis::DriveactivityV2::User]
Public Class Methods
# File lib/google/apis/driveactivity_v2/classes.rb, line 178 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/driveactivity_v2/classes.rb, line 183 def update!(**args) @administrator = args[:administrator] if args.key?(:administrator) @anonymous = args[:anonymous] if args.key?(:anonymous) @impersonation = args[:impersonation] if args.key?(:impersonation) @system = args[:system] if args.key?(:system) @user = args[:user] if args.key?(:user) end