公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Blob.url
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
返回 Blob 的 Google Cloud Storage 网址。存储分区元数据必须可访问(需要
storage.buckets.get
权限,该权限由“Storage Legacy Bucket Reader”角色等提供,请参阅 https://cloud.google.com/storage/docs/access-control/iam-roles),并且存储分区必须位于美国多区域、包含 US-CENTRAL1 的双区域或 US-CENTRAL1 区域中。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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 | |"]]