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