Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ee.Blob.url
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menampilkan URL Google Cloud Storage Blob. Metadata bucket harus dapat diakses (memerlukan izin
storage.buckets.get
yang diberikan oleh peran "Storage Legacy Bucket Reader" dan lainnya, lihat https://cloud.google.com/storage/docs/access-control/iam-roles) dan bucket harus berada di multi-region AS, dual-region yang mencakup US-CENTRAL1, atau region US-CENTRAL1.
Penggunaan | Hasil |
---|
Blob.url() | String |
Argumen | Jenis | Detail |
---|
ini: blob | Blob | |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 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 | |"]]