Google驱动器api搜索查询,其属性值部分匹配

时间:2014-09-13 18:26:57

标签: google-drive-api

我正在尝试使用Google驱动器api通过files()。list()。setQ(q).execute()我在哪里

q =“属性有{key ='代码',值包含'abc'和visibility ='PUBLIC'}”

没有选项可以使用“包含”运算符作为值吗?我想对值进行部分匹配。

我收到以下错误(在java中使用)。

com.google.api.client.googleapis.json.GoogleJsonResponseException:400 Bad Request {“code”:400,“errors”:[{“domain”:“global”,“location”:“q”,“ locationType“:”参数“,”消息“:”无效值“,”原因“:”无效“}],”消息“:”无效值“}

如果在完全匹配时将“contains”替换为“=”,则完全相同的查询有效。

0 个答案:

没有答案