Class: Google::Apis::AdminReportsV1::Activity::Actor
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::Activity::Actor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_reports_v1/classes.rb,
generated/google/apis/admin_reports_v1/representations.rb,
generated/google/apis/admin_reports_v1/representations.rb
Overview
User doing the action.
Instance Attribute Summary collapse
-
#caller_type ⇒ String
User or OAuth 2LO request.
-
#email ⇒ String
Email address of the user.
-
#key ⇒ String
For OAuth 2LO API requests, consumer_key of the requestor.
-
#profile_id ⇒ String
Obfuscated user id of the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Actor
constructor
A new instance of Actor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Actor
Returns a new instance of Actor.
140 141 142 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#caller_type ⇒ String
User or OAuth 2LO request.
Corresponds to the JSON property callerType
123 124 125 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 123 def caller_type @caller_type end |
#email ⇒ String
Email address of the user.
Corresponds to the JSON property email
128 129 130 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 128 def email @email end |
#key ⇒ String
For OAuth 2LO API requests, consumer_key of the requestor.
Corresponds to the JSON property key
133 134 135 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 133 def key @key end |
#profile_id ⇒ String
Obfuscated user id of the user.
Corresponds to the JSON property profileId
138 139 140 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 138 def profile_id @profile_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
145 146 147 148 149 150 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 145 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 |