Class: Google::Apis::DriveactivityV2::Impersonation
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::Impersonation
- 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
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.
851 852 853 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 851 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
849 850 851 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 849 def impersonated_user @impersonated_user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
856 857 858 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 856 def update!(**args) @impersonated_user = args[:impersonated_user] if args.key?(:impersonated_user) end |