如何访问“与我共享” Google Drive SDK的根目录? [英] How to access the "Shared with me" root list with Google Drive SDK?

查看:215
本文介绍了如何访问“与我共享” Google Drive SDK的根目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Google Drive SDK文档中,我找不到如何访问其他人共享的文件/文件夹的根目录,有什么想法?



我尝试搜索不属于我的文件,这意味着使用以下参数查询文件/列表:

 q =不是所有者拥有的文件

但是, ,不仅仅是这些文件的根目录。



感谢您的帮助。 解决方案

显然,有一个新的搜索参数 ,称为 sharedWithMe 。将Q设置为sharedWithMe足以接收与用户共享的父文件夹和文件。它也可以与其他参数结合使用 - 例如sharedWithMe和trashed = false。

您可能已经发现它了,但它可能会有用这个问题的答案。


In the Google Drive SDK documentation, I can't figure out how to access the root list of files/folders shared with me by others, any idea?

I tried to search for files not owned by me, meaning query files/list with the following parameter:

"q=not 'me' in owners"

But that returns all the files owned by others, not only the "root list" of those files.

Thanks for your help.

解决方案

Apparently, there is a new search parameter, called sharedWithMe. Setting the Q to "sharedWithMe" is enough to receive the parent folders and files that were shared with the user. It can be combined with other parameters too - for example "sharedWithMe and trashed=false".

You have probably already found about it, but it might be useful to have an answer of this question.

这篇关于如何访问“与我共享” Google Drive SDK的根目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆