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 שמשמשת כברירת מחדל לאובייקטים בקטגוריה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]