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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Impersonation
Returns a new instance of Impersonation
732 733 734 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 732 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
730 731 732 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 730 def impersonated_user @impersonated_user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
737 738 739 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 737 def update!(**args) @impersonated_user = args[:impersonated_user] if args.key?(:impersonated_user) end |