AI-generated Key Takeaways
-
Retrieves a comprehensive list of all algorithms available for use within Earth Engine Expressions.
-
Uses a standard HTTP GET request to a specific Earth Engine API endpoint, requiring project identification.
-
Returns a JSON response containing detailed information for each algorithm, including its name, description, arguments, and return type.
-
Requires appropriate authorization with specific OAuth scopes to access the Earth Engine API.
-
Algorithm descriptions also indicate if they are deprecated, hidden, or in preview, offering transparency into their development status.
Gets the list of all the algorithms available for use in Expressions.
HTTP request
GET https://earthengine.googleapis.com/v1beta/{parent=projects/*}/algorithms
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
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 must be empty.
Response body
All the algorithms available for use in Expressions.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"algorithms": [
{
object ( |
Fields | |
---|---|
algorithms[] |
A list of the available algorithms. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/earthengine.readonly
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
For more information, see the OAuth 2.0 Overview.
Algorithm
The description of an algorithm available for Expressions.
JSON representation |
---|
{
"name": string,
"description": string,
"returnType": string,
"arguments": [
{
object ( |
Fields | |
---|---|
name |
The name of the algorithm, in the form "algorithms/...". |
description |
A human-readable description of the algorithm. |
returnType |
The name of the type the algorithm returns. |
arguments[] |
Descriptions of the arguments the algorithm takes. |
deprecated |
Whether the algorithm is deprecated. |
deprecationReason |
If this algorithm is deprecated, the reason for the deprecation. |
preview |
Whether this algorithm is a preview feature and not yet widely available for a general audience. |
sourceCodeUri |
URI of a resource containing the source code of the algorithm. Empty if the user does not have permission or a specific URI could not be determined. |
AlgorithmArgument
The description of an argument to an algorithm.
JSON representation |
---|
{ "argumentName": string, "type": string, "description": string, "optional": boolean, "defaultValue": value } |
Fields | |
---|---|
argumentName |
The name of the argument. |
type |
The name of the type of the argument. |
description |
A human-readable description of the argument. |
optional |
Whether the argument is optional. |
defaultValue |
The default value the argument takes if a value is not provided. |