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 Authentication 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. |
return |
The name of the type the algorithm returns. |
arguments[] |
Descriptions of the arguments the algorithm takes. |
deprecated |
Whether the algorithm is deprecated. |
deprecation |
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. |
source |
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 | |
---|---|
argument |
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. |
default |
The default value the argument takes if a value is not provided. |