Google Drive API Files.List查询字符串

use*_*943 7 google-drive-api

我想知道为google驱动器api list.setQ方法制定查询字符串的关键字和参数.

这是我的代码:

FileList files = drive.files().list()
            .setQ("trashed=true")
            .setMaxResults(100)
            .execute();
Run Code Online (Sandbox Code Playgroud)

到目前为止,我发现"TRASHED"是有效的参数,我可以使用它来列出我的谷歌驱动器中的所有已删除的文件.拥有完整的参数列表会很不错.该清单可用吗?

Cla*_*ino 8

Google Drive SDK文档列出了您可以在查询中使用的所有字段和运算符:

https://developers.google.com/drive/search-parameters