AI-generated Key Takeaways
-
The
imageCollection:computeImagesmethod computes features from one or more tables and returns the results as a list of images. -
This method is accessed via a POST request to the specified URL, using gRPC Transcoding syntax.
-
The request requires a
projectpath parameter for authorization, which needs theearthengine.computations.createIAM permission. -
The request body includes parameters like
expressionfor the computation,pageSizefor pagination, andpageTokenfor retrieving subsequent pages. -
The response body contains a list of
imagesand anextPageTokenfor fetching additional results. -
Authorization requires specific OAuth scopes related to Earth Engine or Cloud Platform access.
Computes a set of features by applying an arbitrary computation to features in one or more tables. Results are returned as a list of images.
HTTP request
POST https://earthengine.googleapis.com/v1/{project=projects/*}/imageCollection:computeImages
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 |
|---|
{
"expression": {
object ( |
| Fields | |
|---|---|
expression |
The expression to compute. |
pageSize |
The maximum number of results per page. The server may return fewer images than requested. If unspecified, the page size default is 1000 results per page. |
pageToken |
A token identifying a page of results the server should return. Typically, this is the value of |
workloadTag |
User supplied tag to track this computation. |
Response body
Response message for EarthEngineService.ComputeImages.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"images": [
{
object ( |
| Fields | |
|---|---|
images[] |
The list of images matching the query. |
nextPageToken |
A token to retrieve the next page of results. Pass this value in the |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/earthenginehttps://www.googleapis.com/auth/earthengine.readonlyhttps://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/cloud-platform.read-only
For more information, see the OAuth 2.0 Overview.