I wanted to serve static files stored in google cloud storage for app hosted in app engine. In HTML file, I used
Beside of manually change each of the static files through Google Cloud Storage Manager you can also set your bucket to be publically viewable using gsutil:
Use acl to set public-read on current bucket objects
gsutil -m acl set -R -a public-read gs://BUCKET_NAME
Use defacl to set as default for future uploads:
gsutil -m defacl set public-read gs://BUCKET_NAME
The "shared publicly" check box will be then automatically checked for every files uploaded.
For accessing bucket, make sure that you have enter an authorized id or email for the groups and users and a domain for the bucket permission otherwise you will get error message like:
'DefAclCommand' object has no attribute 'continue_on_error'
You can do also in Console or Using IAM roles.