If you are new to Cloud Storage and will not be using the API directly, consider using the Google Cloud Platform Console to set and manage transfers.
The Google Cloud Platform Console provides a graphical interface to Cloud Storage that enables you to accomplish many of your storage tasks using just a browser, including migration of your data from Amazon S3 to Cloud Storage.
Setting up a transfer job
-
Open the Transfer page in the Google Cloud Platform Console.
-
Click Create transfer job.
Select a tab below for setup instructions. Your steps depend on whether your source is a Cloud Storage bucket, Amazon S3 bucket, or URL list.
-
Under Select source, select Amazon S3 bucket.
-
In the Amazon S3 bucket text box, specify the source Amazon S3 bucket name.
The bucket name is the name as it appears in the AWS Management Console.
-
In the respective text boxes, enter the Access key ID and Secret key associated with the Amazon S3 bucket.
-
To specify a subset of files in your source, click Specify file filters beneath the bucket field. You can include or exclude files based on file name prefix and file age.
-
Under Select destination, choose a sink bucket or create a new one.
To choose an existing bucket, enter the name of the bucket (without the prefix gs://), or click Browse and browse to it.
To transfer files to a new bucket, click Browse and then click the New bucket icon.
-
Enable overwrite/delete options if needed.
By default, your transfer job only overwrites an object when the source version is different from the sink version. No other objects are overwritten or deleted. Enable additional overwrite/delete options under Transfer options. For more information on your options, see TransferOptions in the API reference.
-
Under Configure transfer, schedule your transfer job to Run now (one time) or Run daily at the local time you specify.
-
[Optional] Edit the transfer job name under Description. Use a unique, descriptive name to help identify your transfer job later.
-
Click Create.
For more info regarding using console for transfer purpose refer https://cloud.google.com/storage-transfer/docs/create-manage-transfer-console