-
Go to your
bucket dashboard -
Click on the bucket where is stored the resource you want to download
-
Go to
Permissionstab -
Add a new memberwith the gmail account your are going to use in your Colab -
Giveto this member the requiredpermissions(Admin, List, Create,...)5.b. Admin permissions will work!
-
In your
Colab Notebook, execute the following commands:
!gcloud auth login
# It will send you a link where you will paste a code that is required to continue
!gsutil -m cp -R 'gs://my-bucket/data/my_data' .
# It will download all the files in gs://my-bucket/data/my_data to the current directoryCreated by Manuel Romero / mrm8488