AI-generated Key Takeaways
-
Configuration for a Google Cloud Storage destination includes specifying the bucket, an optional filename prefix, permissions for exported tiles, and an optional list of URIs for bucket CORS settings.
-
The
bucket
field is a string specifying the Google Cloud Storage destination bucket. -
The
filenamePrefix
field is a string used as the prefix for each output file, with a trailing "/" indicating a path. -
The
permissions
field is an enum (TilePermissions
) that specifies the access control for the exported tiles, defaulting toDEFAULT_OBJECT_ACL
if unspecified. -
The
bucketCorsUris
field is an optional list of strings representing URIs to whitelist for the bucket's CORS settings, enabling websites to access exported files via JavaScript.
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. |