我正在使用 Ruby 和 Google Drive API。
如何在根位置创建文件夹?
问问题
1026 次
1 回答
0
A folder in Google Drive is essentially a file with MIME type application/vnd.google-apps.folder
, so you can use the Ruby code in the Reference guide and set the mimeType
field to that value.
Check the docs for the complete snippet:
https://developers.google.com/drive/v2/reference/files/insert
于 2012-07-09T20:43:28.157 回答