CloudStorageDestination

  • Exports data to Google Cloud Storage, utilizing a specified bucket and filename prefix for organization.

  • Allows customization of file permissions, including public access or adherence to bucket defaults.

  • Optionally, enables cross-origin resource sharing (CORS) by whitelisting specific URIs for web-based access to exported files.

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.