google-api - 浏览google Drive api服务帐户

标签 google-api google-drive-api service-accounts

我正在使用 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.

在这里阅读更多内容: https://developers.google.com/drive/web/service-accounts#use_service_accounts_as_application-owned_accounts

关于google-api - 浏览google Drive api服务帐户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20330039/

相关文章:

javascript - 使用 Google Pay JavaScript API 时防止客户端篡改

c# - "The underlying connection was closed: An unexpected error occurred on a send."WebClient.OpenRead 错误(字符串链接)

python - 如何使用 Google Drive API 和 Python 将文件上传到特定文件夹?

php - 带有 PHP : "Invalid token format error" 服务帐户的 Google OAuth 2.0

admin - 如何使用 google drive API 获取所有用户的所有文件

ruby-on-rails - Google 日历 v3 返回 403 Insufficient Permission

java - 如何通过 Google 服务清空日历垃圾箱

android - Xamarin:不确定使用 DriveFile.Open 转换什么

google-apps-script - 将 Google 文档评论连同突出显示的文本导出到 Google 表格中?

google-cloud-platform - 谷歌云 : How to list all service-accounts from all Projects in GCP