Announcement: On
November 13, 2024, all users will need to
use a Cloud project in order to access Earth Engine. After this date, continued individual access without a Cloud project will require
an exception.
CloudStorageDestination
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 2024-10-24 UTC.
[null,null,["Last updated 2024-10-24 UTC."],[[["Google Cloud Storage can be configured as a destination for Earth Engine exports, allowing you to store exported data in your own Cloud Storage buckets."],["Destination configuration involves specifying the bucket name, a filename prefix for exported files, desired permissions for the exported tiles, and optionally, CORS URIs for web access."],["You can control access to the exported tiles by setting permissions to either public, using the bucket's default object ACL, or leaving it unspecified, which defaults to the default object ACL."],["When specifying a filename prefix, a trailing \"/\" indicates a directory path where exported files will be organized, with filenames constructed using the prefix, tile coordinates (if applicable), and the appropriate file extension."],["Providing a list of `bucketCorsUris` enables websites to access the exported files through JavaScript by whitelisting specific URIs for Cross-Origin Resource Sharing."]]],[]]