2013-11-26 61 views

回答

1

是的。請使用DriveAPI,如https://developers.google.com/drive/v2/reference/files所述。

具體而言,您可能希望在文件夾的標題上使用查詢參數。

兩個陷阱需要提防: -

  1. 文件夾名稱不必在垃圾桶獨特
  2. 項目將默認匹配

所以,你的查詢是(以僞代碼) title ='xxxxxx'和trashed = false並且mimeType = application/vnd.google-apps.folder