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
รายการ URI ที่ไม่บังคับที่จะเพิ่มลงในรายการที่อนุญาตพิเศษสำหรับการตั้งค่า CORS ในที่เก็บข้อมูล ใช้เพื่อให้เว็บไซต์เข้าถึงไฟล์ที่ส่งออกผ่าน JavaScript ได้
|
TilePermissions
สิทธิ์ในการตั้งค่าในชิ้นส่วนแผนที่ที่ส่งออก
Enum |
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. |"]]