Method: projects.classifier.export
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
एक बैच प्रोसेस शुरू करता है, जो क्लासिफ़ायर का हिसाब लगाता है और उसे Earth Engine एसेट के तौर पर सेव करता है.
एचटीटीपी अनुरोध
POST https://earthengine.googleapis.com/v1/{project=projects/*}/classifier:export
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
project |
string
ज़रूरी है. Google Cloud Platform प्रोजेक्ट का प्रोजेक्ट आईडी या प्रोजेक्ट नंबर, जिसे इस अनुरोध के लिए सेवा उपभोक्ता माना जाना चाहिए. फ़ॉर्मैट projects/{project-id} है.
अनुमति पाने के लिए, दिए गए संसाधन project पर IAM की यह अनुमति ज़रूरी है:
earthengine.exports.create
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में नीचे दिए गए स्ट्रक्चर वाला डेटा होता है:
JSON के काेड में दिखाना |
{
"expression": {
object (Expression )
},
"description": string,
"requestId": string,
"assetExportOptions": {
object (ClassifierAssetExportOptions )
},
"workloadTag": string,
"priority": integer
} |
फ़ील्ड |
expression |
object (Expression )
ज़रूरी है. यह एक ऐसा एक्सप्रेशन है जो कैलकुलेट करने और एक्सपोर्ट करने के लिए, Earth Engine क्लासिफ़ायर का आकलन करता है.
|
description |
string
ज़रूरी नहीं. टास्क का ऐसा नाम जिसे कोई भी व्यक्ति आसानी से पढ़ सकता है. हालांकि, यह नाम देना ज़रूरी नहीं है.
|
requestId |
string
ज़रूरी नहीं. डुप्लीकेट अनुरोधों का पता लगाने के लिए इस्तेमाल की जाने वाली यूनीक स्ट्रिंग. अगर एक ही उपयोगकर्ता ने एक ही खाली नहीं requestId के साथ एक से ज़्यादा अनुरोध किए हैं, तो उनमें से सिर्फ़ एक अनुरोध, लंबे समय तक चलने वाले ऑपरेशन को शुरू कर सकता है. requestId में a..z, A..Z, 0-9 या '-' वर्ण हो सकते हैं. requestId में ज़्यादा से ज़्यादा 60 वर्ण हो सकते हैं.
|
assetExportOptions |
object (ClassifierAssetExportOptions )
ज़रूरी है. एक्सपोर्ट को Earth Engine एसेट के तौर पर कॉन्फ़िगर करता है.
|
workloadTag |
string
ज़रूरी नहीं. इस कैलकुलेशन को ट्रैक करने के लिए, उपयोगकर्ता का दिया गया लेबल.
|
priority |
integer
ज़रूरी नहीं. प्रोजेक्ट में एक्सपोर्ट टास्क की प्राथमिकता. ज़्यादा प्राथमिकता वाले टास्क जल्दी शेड्यूल किए जाते हैं. यह 0 और 9999 के बीच का पूर्णांक होना चाहिए. अगर यह सेट नहीं किया गया है, तो डिफ़ॉल्ट रूप से 100 पर सेट होता है.
|
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में Operation
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
इसके लिए, OAuth के इनमें से किसी एक स्कोप की ज़रूरत होती है:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/cloud-platform
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
ClassifierAssetExportOptions
टेबल को Earth Engine की एसेट के तौर पर सेव करने के विकल्प.
JSON के काेड में दिखाना |
{
// Union field destination can be only one of the following:
"earthEngineDestination": {
object (EarthEngineDestination )
}
// End of list of possible types for union field destination .
} |
फ़ील्ड |
यूनियन फ़ील्ड destination . नतीजे कहां लिखें. destination इनमें से कोई एक हो सकता है: |
earthEngineDestination |
object (EarthEngineDestination )
अगर यह तय किया गया है, तो Earth Engine में डेटा एक्सपोर्ट करने की सुविधा कॉन्फ़िगर की जाती है.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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\u003eInitiates a batch process to compute and save a classifier as an Earth Engine asset.\u003c/p\u003e\n"],["\u003cp\u003eRequires an expression that evaluates to an Earth Engine Classifier, asset export options, and authorization.\u003c/p\u003e\n"],["\u003cp\u003eOptionally allows setting a description, request ID, workload tag, and priority for the export task.\u003c/p\u003e\n"],["\u003cp\u003eReturns an Operation object upon successful initiation of the export process.\u003c/p\u003e\n"],["\u003cp\u003eRequires specific OAuth scopes for authorization: \u003ccode\u003ehttps://www.googleapis.com/auth/earthengine\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.classifier.export\n\nInitiates a batch process that computes a classifier and saves it as an Earth Engine asset.\n\n### HTTP request\n\n`POST https://earthengine.googleapis.com/v1/{project=projects/*}/classifier:export`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `project` | `string` Required. The project id or project number of the Google Cloud Platform project that should be treated as the service consumer for this request. Format is `projects/{project-id}`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `project`: - `earthengine.exports.create` |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"expression\": { object (/earth-engine/reference/rest/v1/Expression) }, \"description\": string, \"requestId\": string, \"assetExportOptions\": { object (/earth-engine/reference/rest/v1/projects.classifier/export#ClassifierAssetExportOptions) }, \"workloadTag\": string, \"priority\": integer } ``` |\n\n| Fields ||\n|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `expression` | `object (`[Expression](/earth-engine/reference/rest/v1/Expression)`)` Required. An expression that evaluates to an Earth Engine Classifier to compute and export. |\n| `description` | `string` Optional. An optional human-readable name of the task. |\n| `requestId` | `string` Optional. A unique string used to detect duplicated requests. If more than one request is made by the same user with the same non-empty `requestId`, only one of those requests may successfully start a long-running operation. `requestId` may contain the characters a..z, A..Z, 0-9, or '-'. `requestId` may be at most 60 characters long. |\n| `assetExportOptions` | `object (`[ClassifierAssetExportOptions](/earth-engine/reference/rest/v1/projects.classifier/export#ClassifierAssetExportOptions)`)` Required. Configures the export as an Earth Engine asset. |\n| `workloadTag` | `string` Optional. User supplied label to track this computation. |\n| `priority` | `integer` Optional. The priority of the export task within the project. Higher priority tasks are scheduled sooner. Must be an integer between 0 and 9999. Defaults to 100 if not set. |\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/earth-engine/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/earthengine`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2).\n\nClassifierAssetExportOptions\n----------------------------\n\nOptions for saving tables as Earth Engine assets.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `destination` can be only one of the following: \"earthEngineDestination\": { object (/earth-engine/reference/rest/v1/EarthEngineDestination) } // End of list of possible types for union field `destination`. } ``` |\n\n| Fields ||\n|--------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `destination`. Where to write the results. `destination` can be only one of the following: ||\n| `earthEngineDestination` | `object (`[EarthEngineDestination](/earth-engine/reference/rest/v1/EarthEngineDestination)`)` If specified, configures export to Earth Engine. |"]]