CloudStorageDestination
Google Cloud Storage 中目标位置的配置。
JSON 表示法 |
{
"bucket": string,
"filenamePrefix": string,
"permissions": enum (TilePermissions ),
"bucketCorsUris": [
string
]
} |
字段 |
bucket |
string
Google Cloud Storage 目标存储分区。
|
filenamePrefix |
string
用作每个输出文件前缀的字符串。尾随的“/”表示路径。导出文件的文件名将由此前缀、拼接图中的每个文件的坐标(如果有)以及与文件格式对应的文件扩展名构成。
|
permissions |
enum (TilePermissions )
指定要对导出的功能块设置的权限。如果未指定,则默认为 DEFAULT_OBJECT_ACL。
|
bucketCorsUris[] |
string
要为存储分区上的 CORS 设置列入白名单的 URI 列表(可选)。用于让网站能够通过 JavaScript 访问导出的文件。
|
TilePermissions
枚举 |
TILE_PERMISSIONS_UNSPECIFIED |
未指定。 |
PUBLIC |
编写公共功能块。要求调用方是存储分区的所有者。 |
DEFAULT_OBJECT_ACL |
使用存储分区的默认对象 ACL 写入功能块。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-06。
[null,null,["最后更新时间 (UTC):2025-03-06。"],[[["Google Cloud Storage can be configured as a destination for Earth Engine exports, allowing users to store their exported data in a specified bucket."],["Users can define a filename prefix, tile permissions (public, default, or unspecified), and optional CORS settings for web access."],["The bucket's default object ACL is used for tile permissions unless otherwise specified, and the filename prefix helps organize the exported files based on coordinates and format."],["If public access to the exported tiles is desired, the user must be an owner of the bucket."]]],["This content defines the configuration for exporting data to Google Cloud Storage. Key information includes the `bucket` name, and a `filenamePrefix` for organizing output files. `Permissions` control access to exported tiles, with options like `PUBLIC` or `DEFAULT_OBJECT_ACL`. An optional list of `bucketCorsUris` can be specified for enabling cross-origin resource sharing, permitting websites to access exported data via JavaScript.\n"]]