AI-generated Key Takeaways
-
The
GcsDestinationconfiguration specifies settings for exporting data to Google Cloud Storage. -
Key fields include the destination
bucket, afilenamePrefixfor output files, and optionalpermissionsandbucketCorsUris. -
TilePermissionsdefine access controls for exported map tiles, with options for unspecified, public, or default object ACL.
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. |