且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Google Drive Api - 获取文件夹路径

更新时间:2023-02-14 12:43:03

You need to do two things:

  1. Use files.list (which gives full file resources)
  2. Amend your query to add the parent id you want to search in.

    mimeType = 'application/vnd.google-apps.folder' and 'folderId' in parents