AI-generated Key Takeaways
-
The
image:importExternalmethod imports an external image into Earth Engine. -
It uses a POST request to a URL with gRPC Transcoding syntax.
-
The request requires specifying a Google Cloud Platform project ID with the
earthengine.imports.createIAM permission. -
The request body contains an
imageManifestobject and an optionaloverwriteboolean. -
Successful requests return an empty response body and require either the
https://www.googleapis.com/auth/earthengineorhttps://www.googleapis.com/auth/cloud-platformOAuth scope for authorization.
Imports an external image.
HTTP request
POST https://earthengine.googleapis.com/v1alpha/{project=projects/*}/image:importExternal
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
project |
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 |
|---|
{
"imageManifest": {
object ( |
| Fields | |
|---|---|
imageManifest |
The image manifest. |
overwrite |
Whether to allow overwriting an existing asset. |
Response body
If successful, the response body is empty.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/earthenginehttps://www.googleapis.com/auth/cloud-platform
For more information, see the OAuth 2.0 Overview.