class Google::Apis::DriveV2::User
Information about a Drive user.
Attributes
A plain text displayable name for this user. Corresponds to the JSON property `displayName` @return [String]
The email address of the user. Corresponds to the JSON property `emailAddress` @return [String]
Whether this user is the same as the authenticated user for whom the request was made. Corresponds to the JSON property `isAuthenticatedUser` @return [Boolean]
Whether this user is the same as the authenticated user for whom the request was made. Corresponds to the JSON property `isAuthenticatedUser` @return [Boolean]
This is always drive#user. Corresponds to the JSON property `kind` @return [String]
The user's ID as visible in the permissions collection. Corresponds to the JSON property `permissionId` @return [String]
The user's profile picture. Corresponds to the JSON property `picture` @return [Google::Apis::DriveV2::User::Picture]
Public Class Methods
# File generated/google/apis/drive_v2/classes.rb, line 2540 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/drive_v2/classes.rb, line 2545 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @email_address = args[:email_address] if args.key?(:email_address) @is_authenticated_user = args[:is_authenticated_user] if args.key?(:is_authenticated_user) @kind = args[:kind] if args.key?(:kind) @permission_id = args[:permission_id] if args.key?(:permission_id) @picture = args[:picture] if args.key?(:picture) end