Class: Google::Apis::DriveactivityV2::Impersonation
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::Impersonation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/driveactivity_v2/classes.rb,
lib/google/apis/driveactivity_v2/representations.rb,
lib/google/apis/driveactivity_v2/representations.rb
Overview
Information about an impersonation, where an admin acts on behalf of an end user. Information about the acting admin is not currently available.
Instance Attribute Summary collapse
-
#impersonated_user ⇒ Google::Apis::DriveactivityV2::User
Information about an end user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Impersonation
constructor
A new instance of Impersonation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Impersonation
Returns a new instance of Impersonation.
1033 1034 1035 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 1033 def initialize(**args) update!(**args) end |
Instance Attribute Details
#impersonated_user ⇒ Google::Apis::DriveactivityV2::User
Information about an end user.
Corresponds to the JSON property impersonatedUser
1031 1032 1033 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 1031 def impersonated_user @impersonated_user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1038 1039 1040 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 1038 def update!(**args) @impersonated_user = args[:impersonated_user] if args.key?(:impersonated_user) end |