Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
CloudStorageDestination
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Konfigurasi untuk tujuan di Google Cloud Storage.
Representasi JSON |
{
"bucket": string,
"filenamePrefix": string,
"permissions": enum (TilePermissions ),
"bucketCorsUris": [
string
]
} |
Kolom |
bucket |
string
Bucket tujuan Google Cloud Storage.
|
filenamePrefix |
string
String yang digunakan sebagai awalan untuk setiap file output. "/" di akhir menunjukkan jalur. Nama file file yang diekspor akan dibuat dari awalan ini, koordinat setiap file dalam mosaik (jika ada), dan ekstensi file yang sesuai dengan format file.
|
permissions |
enum (TilePermissions )
Menentukan izin yang akan ditetapkan pada kartu yang diekspor. Jika tidak ditentukan, defaultnya adalah DEFAULT_OBJECT_ACL.
|
bucketCorsUris[] |
string
Daftar URI opsional yang akan diizinkan untuk setelan CORS di bucket. Digunakan untuk memungkinkan situs mengakses file yang diekspor melalui JavaScript.
|
TilePermissions
Izin yang akan ditetapkan pada ubin peta yang diekspor.
Enum |
TILE_PERMISSIONS_UNSPECIFIED |
Tidak ditentukan. |
PUBLIC |
Menulis kartu publik. Memerlukan pemanggil untuk menjadi PEMILIK bucket. |
DEFAULT_OBJECT_ACL |
Tulis kartu menggunakan ACL objek default bucket. |
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-25 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003eExports data to Google Cloud Storage, defining the destination bucket, file prefix, and permissions.\u003c/p\u003e\n"],["\u003cp\u003eAllows customizing file naming with a prefix and automatically incorporates mosaic coordinates and file extensions.\u003c/p\u003e\n"],["\u003cp\u003eOffers control over tile permissions, including public access and using bucket defaults.\u003c/p\u003e\n"],["\u003cp\u003eOptionally enables cross-origin resource sharing (CORS) by whitelisting specific URIs for web access to exported files.\u003c/p\u003e\n"]]],[],null,["# CloudStorageDestination\n\nConfiguration for a destination in Google Cloud Storage.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"bucket\": string, \"filenamePrefix\": string, \"permissions\": enum (/earth-engine/reference/rest/v1/CloudStorageDestination#TilePermissions), \"bucketCorsUris\": [ string ] } ``` |\n\n| Fields ||\n|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `bucket` | `string` The Google Cloud Storage destination bucket. |\n| `filenamePrefix` | `string` The string used as the prefix for each output file. A trailing \"/\" indicates a path. The filenames of the exported files will be constructed from this prefix, the coordinates of each file in a mosaic (if any), and a file extension corresponding to the file format. |\n| `permissions` | `enum (`[TilePermissions](/earth-engine/reference/rest/v1/CloudStorageDestination#TilePermissions)`)` Specifies the permissions to set on the exported tiles. If unspecified, defaults to DEFAULT_OBJECT_ACL. |\n| `bucketCorsUris[]` | `string` Optional list of URIs to whitelist for the CORS settings on the bucket. Used to enable websites to access exported files via JavaScript. |\n\nTilePermissions\n---------------\n\nPermissions to set on exported map tiles.\n\n| Enums ||\n|--------------------------------|-----------------------------------------------------------------------|\n| `TILE_PERMISSIONS_UNSPECIFIED` | Unspecified. |\n| `PUBLIC` | Write public tiles. Requires the caller to be an OWNER of the bucket. |\n| `DEFAULT_OBJECT_ACL` | Write tiles using the bucket's default object ACL. |"]]