Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

transfer from GCS to Google Drive

well we basically store some files on buckets in Google Cloud Storage, now I started to work on a feature to schedule tasks and move files, so what we want is the user to provide an api key/secret of google drive in order to move these files periodically to its drive, I noticed that we could do it using google account integration but in our solution that is not something we want because the integration would be tied to that specific user.

another thing that we are looking for is to avoid downloading the files because they could be a lot or they can be very big, therefore we would love to just provide like the bucket file/folder url and copy them to google drive.

note: the user owner of the bucket and the owner of the drive are different

I also did my research and found a lot of questions on SO but they are very old, I guess if there is a new way.

3 1 5,746
1 REPLY 1

Hi @princezhm,

Welcome to Google Cloud Community!

As of the moment, we don't have a direct way or API to transfer GCS objects to Google Drive. There is, however an AppScript from your Google Drive to your GCS bucket. You may want to perform some modification to do the other way around. You may check the following methods below:

You could also file a feature request through this link so that our engineers could take a look at this. We don't have a specific ETA for this on but you can keep track of its progress once the ticket has been created.

Hope this helps.