AI-generated Key Takeaways
-
Configuration for a Google Cloud Storage destination is defined by parameters like bucket, filename prefix, permissions, and optional CORS URIs.
-
The
bucketfield specifies the target Google Cloud Storage bucket for exported data. -
The
filenamePrefixis used to construct the names of the output files, potentially including coordinate information and file extension. -
The
permissionsfield controls the access permissions for exported tiles, with options includingPUBLICandDEFAULT_OBJECT_ACL. -
bucketCorsUrisallows whitelisting URIs for CORS settings, enabling JavaScript access from specified websites.
Configuration for a destination in Google Cloud Storage.
| JSON representation |
|---|
{
"bucket"
:
string
,
"filenamePrefix"
:
string
,
"permissions"
:
enum (
|
| Fields | |
|---|---|
bucket
|
The Google Cloud Storage destination bucket. |
filenamePrefix
|
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
|
Specifies the permissions to set on the exported tiles. If unspecified, defaults to DEFAULT_OBJECT_ACL. |
bucketCorsUris[]
|
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. |

