AI-generated Key Takeaways
-
Initiates a batch process to compute and save a classifier as an Earth Engine asset.
-
Requires an expression evaluating to an Earth Engine Classifier, asset export options, and authorization.
-
Allows customization with optional parameters like description, request ID, workload tag, and priority.
-
Returns an Operation object upon successful request initiation.
-
Needs
earthengine.exports.create
IAM permission and specific OAuth scopes for authorization.
Initiates a batch process that computes a classifier and saves it as an Earth Engine asset.
HTTP request
POST https://earthengine.googleapis.com/v1alpha/{project=projects/*}/classifier:export
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project |
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 Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "expression": { object ( |
Fields | |
---|---|
expression |
Required. An expression that evaluates to an Earth Engine Classifier to compute and export. |
description |
Optional. An optional human-readable name of the task. |
requestId |
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 |
assetExportOptions |
Required. Configures the export as an Earth Engine asset. |
workloadTag |
Optional. User supplied label to track this computation. |
priority |
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. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/cloud-platform
For more information, see the OAuth 2.0 Overview.
ClassifierAssetExportOptions
Options for saving tables as Earth Engine assets.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field destination . Where to write the results. destination can be only one of the following: |
|
earthEngineDestination |
If specified, configures export to Earth Engine. |