我想知道用于制定查询字符串的关键字和参数
对于 google drive api list.setQ 方法。
这是我的代码:
FileList files = drive.files().list()
.setQ("trashed=true")
.setMaxResults(100)
.execute();
到目前为止,我发现“TRASHED”是有效的参数,我可以用它来列出所有
我的谷歌驱动器中的垃圾文件。最好有完整的参数列表。那个 list 可以用吗?
最佳答案
Google Drive SDK 文档列出了您可以在查询中使用的所有字段和运算符:
https://developers.google.com/drive/search-parameters
关于google-drive-api - Google Drive API Files.List 查询字符串,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11457235/