-
Go to your
bucket dashboard
-
Click on the bucket where is stored the resource you want to download
-
Go to
Permissions
tab -
Add a new member
with the gmail account your are going to use in your Colab -
Give
to 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 directory
Created by Manuel Romero / mrm8488