Class: Google::Apis::DriveactivityV2::Actor
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::Actor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/driveactivity_v2/classes.rb,
generated/google/apis/driveactivity_v2/representations.rb,
generated/google/apis/driveactivity_v2/representations.rb
Overview
The actor of a Drive activity.
Instance Attribute Summary collapse
-
#administrator ⇒ Google::Apis::DriveactivityV2::Administrator
Empty message representing an administrator.
-
#anonymous ⇒ Google::Apis::DriveactivityV2::AnonymousUser
Empty message representing an anonymous user or indicating the authenticated user should be anonymized.
-
#impersonation ⇒ Google::Apis::DriveactivityV2::Impersonation
Information about an impersonation, where an admin acts on behalf of an end user.
-
#system ⇒ Google::Apis::DriveactivityV2::SystemEvent
Event triggered by system operations instead of end users.
-
#user ⇒ Google::Apis::DriveactivityV2::User
Information about an end user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Actor
constructor
A new instance of Actor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Actor
Returns a new instance of Actor.
178 179 180 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 178 def initialize(**args) update!(**args) end |
Instance Attribute Details
#administrator ⇒ Google::Apis::DriveactivityV2::Administrator
Empty message representing an administrator.
Corresponds to the JSON property administrator
154 155 156 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 154 def administrator @administrator end |
#anonymous ⇒ Google::Apis::DriveactivityV2::AnonymousUser
Empty message representing an anonymous user or indicating the authenticated
user should be anonymized.
Corresponds to the JSON property anonymous
160 161 162 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 160 def anonymous @anonymous end |
#impersonation ⇒ Google::Apis::DriveactivityV2::Impersonation
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
166 167 168 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 166 def impersonation @impersonation end |
#system ⇒ Google::Apis::DriveactivityV2::SystemEvent
Event triggered by system operations instead of end users.
Corresponds to the JSON property system
171 172 173 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 171 def system @system end |
#user ⇒ Google::Apis::DriveactivityV2::User
Information about an end user.
Corresponds to the JSON property user
176 177 178 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 176 def user @user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
183 184 185 186 187 188 189 |
# File 'generated/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 |