I use Google Cloud Storage Transfer Service to move files between Google cloud buckets. I've actually executed one transfer job. In the source bucket there were files with enabled public access. In the destination bucket the same files no longer had public access. Is it possible to use transfer service and retain public access?
Asked
Active
Viewed 88 times
1 Answers
0
While there is no way to achieve this with the transfer service UI, you can use the gsutil rsync -p
command to achieve this as mentioned in this documentation file.
I would recommend you to set up a script in a cron rather than a transfer service to copy your files if you need to schedule this, or use the cloud shell if you are only gonna run this once

rsalinas
- 1,507
- 8
- 9
-
Using the CLI tool would do the job. What I don't like is that you cannot choose the output format (e.g. JSON). And if it is not a one-time thing, having structured output is really important. Anyways, I think that you confirmed that transfer jobs cannot be used. – Denny Feb 16 '21 at 17:13