class Google::Apis::DriveactivityV2::KnownUser
A known user.
Attributes
is_current_user[RW]
True if this is the user making the request. Corresponds to the JSON property `isCurrentUser` @return [Boolean]
is_current_user?[RW]
True if this is the user making the request. Corresponds to the JSON property `isCurrentUser` @return [Boolean]
person_name[RW]
The identifier for this user that can be used with the People API to get more information. The format is `people/ACCOUNT_ID`. See developers.google. com/people/. Corresponds to the JSON property `personName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/driveactivity_v2/classes.rb, line 878 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/driveactivity_v2/classes.rb, line 883 def update!(**args) @is_current_user = args[:is_current_user] if args.key?(:is_current_user) @person_name = args[:person_name] if args.key?(:person_name) end