class Google::Apis::DriveV3::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. This may not be present in certain contexts if the user has not made their email address visible to the requester. Corresponds to the JSON property `emailAddress` @return [String]
Identifies what kind of resource this is. Value: the fixed string “drive#user”. Corresponds to the JSON property `kind` @return [String]
Whether this user is the requesting user. Corresponds to the JSON property `me` @return [Boolean]
Whether this user is the requesting user. Corresponds to the JSON property `me` @return [Boolean]
The user's ID as visible in Permission
resources. Corresponds to the JSON property `permissionId` @return [String]
A link to the user's profile photo, if available. Corresponds to the JSON property `photoLink` @return [String]
Public Class Methods
# File lib/google/apis/drive_v3/classes.rb, line 3080 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/drive_v3/classes.rb, line 3085 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @email_address = args[:email_address] if args.key?(:email_address) @kind = args[:kind] if args.key?(:kind) @me = args[:me] if args.key?(:me) @permission_id = args[:permission_id] if args.key?(:permission_id) @photo_link = args[:photo_link] if args.key?(:photo_link) end