按照API documentation你可以以同样的方式为“丢弃”上“sharedWithMe”搜索:如何使用Google Drive API v3搜索** not ** sharedWithMe?
trashed boolean =, != Whether the file is in the trash or not.
sharedWithMe boolean =, != Files that have been shared with the authorized user.
查询,如“看不上”,“不丢弃”和“丢弃=假”作为一切工作的预期。另外“sharedWithMe”的作品。
然而,什么不起作用是“not sharedWithMe”或“sharedWithMe = false”。什么是正确的语法,或者这是一个错误?
实施例:Q =未+ sharedWithMe
错误:
"domain": "global",
"reason": "invalid",
"message": "Invalid Value",
"locationType": "parameter",
"location": "q"
渡过了[相同的文档(https://developers.google.com/drive/v3/web/search-parameters),我注意到'sharedWithMe'字段的'=''和'!=''。所以你的“not sharedWithMe”必须像使用编程一样使用'!=''。 – noogui
是的,和垃圾一样。但'sharedWithMe = false'不起作用。我也尝试过'!sharedWithMe'。没有运气。 – rmuller