Google Drive access for Service account

后端 未结 2 1045
情深已故
情深已故 2021-01-07 05:56

I am trying to access my Google Drive files from a php script that will be run in a cron job, but I can\'t see my files. I am using a Service account set up in Google Develo

相关标签:
2条回答
  • 2021-01-07 06:27

    I made a shared folder in my GUI accessible drive, then I insert the files from the commandline under this folder shared, so I see them ;)

    0 讨论(0)
  • 2021-01-07 06:32

    Google will create its own google drive for service account.

    What you need to do is SHARE your folder with service's account email from console.

    Give it permission "can edit".

    0 讨论(0)
提交回复
热议问题