Skip to content Skip to sidebar Skip to footer

Can I Create A Google Drive Folder Using Service Account With Python?

I can create a folder using account Owner but cannot share it with service account. Is there a way for My Python script to create a folder using service account and then upload a f

Solution 1:

You can create a folder and upload file, same process flow as a real user when you using a service account.

BUT

As stated in this blog, you have to remember that:

A service account is a sort of virtual user or robot account associated with a given project. It has an email address, and a cryptographic key pair.

Also, there is a statement from a related SO question that:

There is no UI for Service Accounts. The files are only accessible to your app.

I suggest that you share a folder from a real account to your service account so that accessing the files would be easier.

Hope this help!

Post a Comment for "Can I Create A Google Drive Folder Using Service Account With Python?"