2017-01-04 95 views

回答

0

您可以尝试使用drive.files.list()方法的sharedWithMe搜索参数。请参阅https://developers.google.com/drive/v3/web/search-parameters

+0

文件不与我共享。其他用户公开任何人都可以看到它。我只知道文件夹ID。如何从文件夹ID获取文件。它在父母中返回我0个文件q ='文件夹ID'。 –

1

drive.files.list()方法将查找公共文件。您只需使用parent搜索字词搜索公共父文件夹。

parent in ['0B1dafBJIrDNfdmJUSjBYckZseDg'] 
相关问题