try it 部分中的查询字符串在 12 小时前不起作用。我的查询字符串是mimeType = 'application/vnd.google-apps.folder' 无论如何都不适用于任何查询。 https://developers.google.com/drive/v2/reference/children/list 请告诉我为什么?
问问题
497 次
1 回答
3
我有同样的问题:
child.Q = "mimeType = 'application/vnd.google-apps.folder' and title contains 'SomeDocuments'"
Dim cl As ChildList = child.Fetch
它返回所有文档,就像没有过滤器一样
也许 Google Drive API 发生了一些变化?
更新 我在谷歌找不到任何东西,我在子列表页面中写了一个反馈。到目前为止,唯一的解决方法是不使用 children.list,而是使用 file.list 方法,并在 q 部分中添加 - 'folderid' in parents - 搜索词以模拟对父文件夹的子文件夹的搜索。缺点是它只会搜索以folderid为父的文档,而不是像children.list方法那样的子文件夹。
更新 2 看起来谷歌修复了它!快乐编码。
于 2013-08-09T14:20:52.673 回答