0
我正嘗試使用Java更新Google雲端硬盤中的文件。無法更新Google雲端硬盤中的文件名
File f =
drive.files().update(fileId, null).setAddParents(newParentId).setRemoveParents(oldParentId).set("name", "new name").execute();
父文件夾已更新,但文件名未更新。
我在做什麼錯?
這個發展不是android之一。我正在關注https://developers.google.com/drive/v3/reference/files/update 文件名可以使用用戶界面進行更新。我可以問一下「Patch body」是否映射到set()? – user5345102