Google Drive 服务帐户 - 查看来自其他帐户的文件 [英] Google Drive Service Account - view files from another account
本文介绍了Google Drive 服务帐户 - 查看来自其他帐户的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经成功创建了一个 Google Drive 服务帐户,并且可以通过 PHP 向该帐户创建文件.但是,我需要能够从其他用户帐户的 Google Web UI 查看这些创建的文件.如何允许其他用户访问这些自动创建的文件?
I have successfully created a Google Drive Service Account and can create files via PHP to this account. However I need to be able to view these created files from the Google web UI from other user accounts. How do I allow other users access to these auto created files?
谢谢
推荐答案
您只需要将文件分享给所需的用户:
You just need to share the file with the desired users with:
https://developers.google.com/drive/v2/reference/permissions/insert一个>
这篇关于Google Drive 服务帐户 - 查看来自其他帐户的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文