| Package | Description | 
|---|---|
| com.google.api.services.drive.model | 
| Modifier and Type | Method and Description | 
|---|---|
User | 
User.clone()  | 
User | 
Comment.getAuthor()
Output only. 
 | 
User | 
Reply.getAuthor()
Output only. 
 | 
User | 
File.getLastModifyingUser()
Output only. 
 | 
User | 
Revision.getLastModifyingUser()
Output only. 
 | 
User | 
ContentRestriction.getRestrictingUser()
Output only. 
 | 
User | 
File.getSharingUser()
Output only. 
 | 
User | 
File.getTrashingUser()
Output only. 
 | 
User | 
About.getUser()
The authenticated user. 
 | 
User | 
User.set(String fieldName,
   Object value)  | 
User | 
User.setDisplayName(String displayName)
Output only. 
 | 
User | 
User.setEmailAddress(String emailAddress)
Output only. 
 | 
User | 
User.setKind(String kind)
Output only. 
 | 
User | 
User.setMe(Boolean me)
Output only. 
 | 
User | 
User.setPermissionId(String permissionId)
Output only. 
 | 
User | 
User.setPhotoLink(String photoLink)
Output only. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<User> | 
File.getOwners()
Output only. 
 | 
List<User> | 
LabelField.getUser()
Only present if `valueType` is `user`. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Comment | 
Comment.setAuthor(User author)
Output only. 
 | 
Reply | 
Reply.setAuthor(User author)
Output only. 
 | 
File | 
File.setLastModifyingUser(User lastModifyingUser)
Output only. 
 | 
Revision | 
Revision.setLastModifyingUser(User lastModifyingUser)
Output only. 
 | 
ContentRestriction | 
ContentRestriction.setRestrictingUser(User restrictingUser)
Output only. 
 | 
File | 
File.setSharingUser(User sharingUser)
Output only. 
 | 
File | 
File.setTrashingUser(User trashingUser)
Output only. 
 | 
About | 
About.setUser(User user)
The authenticated user. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
File | 
File.setOwners(List<User> owners)
Output only. 
 | 
LabelField | 
LabelField.setUser(List<User> user)
Only present if `valueType` is `user`. 
 | 
Copyright © 2011–2025 Google. All rights reserved.