'Service account doesn't get the quota from Google one
One friend of mine subscribed to Google one and granted permission to me use the storage, the problem is when i'm using a service account to upload a file to google drive, the storage shows as 15GB and don't let me upload more than that, is there anyway to grant the storage from my account to the service account?
I couldn't find anything related to Google one, any direction would help.
Edit: I used OAuth2, it isn't the best alternative, but I really don't want to go more into this.
Solution 1:[1]
Service accounts are dummy users they have their own drive account but there is no way to extend the allotted space to that account.
Storage is based upon an account. If you want to use the storage of a standard gmail user with a service account. Then the service account needs to be uploading to that drive account.
Have your friend share a directory on their drive account with the service account. Then when you upload files make sure to set the parents id to that of the folder your uploading to.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |