Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Blob.url
Stay organized with collections
Save and categorize content based on your preferences.
Returns the Blob's Google Cloud Storage URL. The bucket metadata must be accessible (requires the
storage.buckets.get
permission which is provided by the role "Storage Legacy Bucket Reader" among others, see https://cloud.google.com/storage/docs/access-control/iam-roles) and the bucket must be located in the US multi-region, a dual-region including US-CENTRAL1, or theUS-CENTRAL1 region.
Usage | Returns | Blob.url() | String |
Argument | Type | Details | this: blob | Blob | |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-23 UTC.
[null,null,["Last updated 2024-12-23 UTC."],[[["\u003cp\u003eThis function returns the Google Cloud Storage URL of a Blob object as a string.\u003c/p\u003e\n"],["\u003cp\u003eIt is accessed via the \u003ccode\u003eurl()\u003c/code\u003e method directly on a Blob instance, taking no additional arguments.\u003c/p\u003e\n"]]],["The core function retrieves a Blob's Google Cloud Storage URL, returning it as a String. It requires `storage.buckets.get` permission (e.g., via \"Storage Legacy Bucket Reader\" role). The associated bucket must reside in the US multi-region, a dual-region encompassing US-CENTRAL1, or solely in the US-CENTRAL1 region. The function takes the `blob` as an argument.\n"],null,["# ee.Blob.url\n\nReturns the Blob's Google Cloud Storage URL. The bucket metadata must be accessible (requires the `storage.buckets.get` permission which is provided by the role \"Storage Legacy Bucket Reader\" among others, see https://cloud.google.com/storage/docs/access-control/iam-roles) and the bucket must be located in the US multi-region, a dual-region including US-CENTRAL1, or theUS-CENTRAL1 region.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------|---------|\n| Blob.url`()` | String |\n\n| Argument | Type | Details |\n|--------------|------|---------|\n| this: `blob` | Blob | |"]]