Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
CloudStorageDestination
Stay organized with collections
Save and categorize content based on your preferences.
Configuration for a destination in Google Cloud Storage.
JSON representation |
{
"bucket": string,
"filenamePrefix": string,
"permissions": enum (TilePermissions ),
"bucketCorsUris": [
string
]
} |
Fields |
bucket |
string
The Google Cloud Storage destination bucket.
|
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.
|
permissions |
enum (TilePermissions )
Specifies the permissions to set on the exported tiles. If unspecified, defaults to DEFAULT_OBJECT_ACL.
|
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.
|
TilePermissions
Permissions to set on exported map tiles.
Enums |
TILE_PERMISSIONS_UNSPECIFIED |
Unspecified. |
PUBLIC |
Write public tiles. Requires the caller to be an OWNER of the bucket. |
DEFAULT_OBJECT_ACL |
Write tiles using the bucket's default object ACL. |
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 2025-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["\u003cp\u003eGoogle Cloud Storage can be configured as a destination for Earth Engine exports, allowing users to store their exported data in a specified bucket.\u003c/p\u003e\n"],["\u003cp\u003eUsers can define a filename prefix, tile permissions (public, default, or unspecified), and optional CORS settings for web access.\u003c/p\u003e\n"],["\u003cp\u003eThe bucket's default object ACL is used for tile permissions unless otherwise specified, and the filename prefix helps organize the exported files based on coordinates and format.\u003c/p\u003e\n"],["\u003cp\u003eIf public access to the exported tiles is desired, the user must be an owner of the bucket.\u003c/p\u003e\n"]]],["This content defines the configuration for exporting data to Google Cloud Storage. Key information includes the `bucket` name, and a `filenamePrefix` for organizing output files. `Permissions` control access to exported tiles, with options like `PUBLIC` or `DEFAULT_OBJECT_ACL`. An optional list of `bucketCorsUris` can be specified for enabling cross-origin resource sharing, permitting websites to access exported data via JavaScript.\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/v1alpha/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/v1alpha/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. |"]]