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
बकेट पर सीओआरएस सेटिंग के लिए, श्वेतसूची में शामिल किए जाने वाले यूआरएल की वैकल्पिक सूची. इसका इस्तेमाल, वेबसाइटों को JavaScript के ज़रिए एक्सपोर्ट की गई फ़ाइलों को ऐक्सेस करने की सुविधा देने के लिए किया जाता है.
|
TilePermissions
एक्सपोर्ट की गई मैप टाइल पर सेट करने के लिए अनुमतियां.
Enums |
TILE_PERMISSIONS_UNSPECIFIED |
नहीं बताया गया है |
PUBLIC |
सार्वजनिक टाइल लिखें. कॉल करने वाले व्यक्ति के पास बकेट का मालिकाना हक होना चाहिए. |
DEFAULT_OBJECT_ACL |
बकेट के डिफ़ॉल्ट ऑब्जेक्ट एसीएल का इस्तेमाल करके टाइल लिखें. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]