我正在使用 Google 云端硬盘的 API 将文件上传到服务帐号(使用 Google Cloud Console 创建)。
上传成功。我可以使用 API 枚举它们。
如何从互联网浏览器浏览这些文件,就像我们在任何其他常规 Google 帐户(云端硬盘)中查看文件一样?
谢谢
最佳答案
无法使用服务帐户从浏览器查看文件。该帐号主要用于管理同域用户的帐号。
Service accounts are accounts associated with a service or a project. They do not belong to a user and can only be accessed programmatically by the associated application.
关于google-api - 浏览google Drive api服务帐户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20330039/