class Google::Apis::AdminReportsV1::Activity::Actor
User doing the action.
Attributes
caller_type[RW]
The type of actor. Corresponds to the JSON property `callerType` @return [String]
email[RW]
The primary email address of the actor. May be absent if there is no email address associated with the actor. Corresponds to the JSON property `email` @return [String]
key[RW]
Only present when `callerType` is `KEY`. Can be the `consumer_key` of the requestor for OAuth 2LO API requests or an identifier for robot accounts. Corresponds to the JSON property `key` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/admin_reports_v1/classes.rb, line 151 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/admin_reports_v1/classes.rb, line 156 def update!(**args) @caller_type = args[:caller_type] if args.key?(:caller_type) @email = args[:email] if args.key?(:email) @key = args[:key] if args.key?(:key) @profile_id = args[:profile_id] if args.key?(:profile_id) end