Reputation: 10605
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?
Upvotes: 1
Views: 171
Reputation: 2869
Are you using the fields
option to include permissions
?
I don't generally use the Java SDK, but I think look into setFields()
Upvotes: 1