お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
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 Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eExports data to Google Cloud Storage, utilizing a specified bucket and filename prefix for organization.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of file permissions, including public access or adherence to bucket defaults.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, enables cross-origin resource sharing (CORS) by whitelisting specific URIs for web-based access to exported files.\u003c/p\u003e\n"]]],["This describes configuration settings for a Google Cloud Storage destination. Key elements include the `bucket` (destination), `filenamePrefix` (output file prefix, supporting paths), and `permissions` (access control for exported tiles, defaulting to `DEFAULT_OBJECT_ACL`). `permissions` can be `PUBLIC` or `DEFAULT_OBJECT_ACL`, and `bucketCorsUris` allows for enabling cross-origin access through JavaScript. `TilePermissions` is a list of permission settings that are available.\n"],null,["# CloudStorageDestination\n\nConfiguration for a destination in Google Cloud Storage.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"bucket\": string, \"filenamePrefix\": string, \"permissions\": enum (/earth-engine/reference/rest/v1beta/CloudStorageDestination#TilePermissions), \"bucketCorsUris\": [ string ] } ``` |\n\n| Fields ||\n|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `bucket` | `string` The Google Cloud Storage destination bucket. |\n| `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. |\n| `permissions` | `enum (`[TilePermissions](/earth-engine/reference/rest/v1beta/CloudStorageDestination#TilePermissions)`)` Specifies the permissions to set on the exported tiles. If unspecified, defaults to DEFAULT_OBJECT_ACL. |\n| `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. |\n\nTilePermissions\n---------------\n\nPermissions to set on exported map tiles.\n\n| Enums ||\n|--------------------------------|-----------------------------------------------------------------------|\n| `TILE_PERMISSIONS_UNSPECIFIED` | Unspecified. |\n| `PUBLIC` | Write public tiles. Requires the caller to be an OWNER of the bucket. |\n| `DEFAULT_OBJECT_ACL` | Write tiles using the bucket's default object ACL. |"]]