When using the google drive api
I use com.google.api.services.drive.Drive.files()
to iterate some files.
I noticed None of the Directory objects have permissions?
When I use the File objects, the com.google.api.services.drive.model.File.getPermissions()
method always returns null
.
Is there some way I can get this list method to return the permissions as well?
Otherwise I'll have to pummel the google api?
Are you using the fields
option to include permissions
? I don't generally use the Java SDK, but I think look into setFields()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.