How can I access files from a Google Cloud Storage bucket from a browser?

后端 未结 4 1029
[愿得一人]
[愿得一人] 2020-12-14 11:36

I am using Google Cloud Storage to store images for my Google App Engine application and I\'m trying to access the images like so:



        
4条回答
  •  不知归路
    2020-12-14 12:09

    For a more general answer, the way to access an gs:// url is to use this format:

    https://console.cloud.google.com/storage/browser/[BUCKET_NAME]/

    For example, if the bucket you're trying to access is the Landsat public dataset,gs://gcp-public-data-landsat/ then you'd access the bucket with this url: https://console.cloud.google.com/storage/gcp-public-data-landsat/

    Here's the documentation related to accessing a bucket:

    1. https://cloud.google.com/storage/docs/access-public-data
    2. https://cloud.google.com/storage/docs/cloud-console

    Hope this helps!

提交回复
热议问题