1
我使用的是谷歌硬碟SDK與此代碼創建電子表格創建的電子表格:獲取與硬碟SDK
File body = new File();
body.setTitle(title);
body.setMimeType("application/vnd.google-apps.spreadsheet");
body.setParents(Arrays.asList(new ParentReference().setId(currentParent)));
File file = driveHelper.getDrive().files().insert(body).execute();
有沒有辦法讓使用谷歌電子表格API驅動器SDK創建一個特定的電子表格? 我有很多電子表格在不同的文件夾中有相同的名稱,當我遍歷所有 電子表格時,我不想比較標題以獲得特定的電子表格。