Duyuru:
15 Nisan 2025'ten önce Earth Engine'i kullanmak için kaydedilen tüm ticari olmayan projelerin Earth Engine erişimini sürdürmek için
ticari olmayan uygunluğu doğrulaması gerekir.
Method: projects.algorithms.list
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
İfadelerde kullanılabilen tüm algoritmaların listesini alır.
HTTP isteği
GET https://earthengine.googleapis.com/v1/{parent=projects/*}/algorithms
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Bu istek için hizmet tüketicisi olarak değerlendirilmesi gereken Google Cloud Platform projesinin proje kimliği veya proje numarası. Biçim projects/{project-id} 'tür.
Yetkilendirme, belirtilen kaynak parent için aşağıdaki IAM iznini gerektirir:
earthengine.computations.create
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
İfadelerde kullanılabilen tüm algoritmalar.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"algorithms": [
{
object (Algorithm )
}
]
} |
Alanlar |
algorithms[] |
object (Algorithm )
Mevcut algoritmaların listesi.
|
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamlarından birini gerektirir:
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
Daha fazla bilgi için OAuth 2.0 Overview sayfasına bakın.
Algoritma
İfadeler için kullanılabilen bir algoritmanın açıklaması.
JSON gösterimi |
{
"name": string,
"description": string,
"returnType": string,
"arguments": [
{
object (AlgorithmArgument )
}
],
"deprecated": boolean,
"deprecationReason": string,
"hidden": boolean,
"preview": boolean,
"sourceCodeUri": string
} |
Alanlar |
name |
string
Algoritmanın adı ("algorithms/..." biçiminde).
|
description |
string
Algoritmanın kullanıcılar tarafından okunabilir açıklaması.
|
returnType |
string
Algoritmanın döndürdüğü türün adı.
|
arguments[] |
object (AlgorithmArgument )
Algoritmanın aldığı bağımsız değişkenlerin açıklamaları.
|
deprecated |
boolean
Algoritmanın desteğinin sonlandırılıp sonlandırılmadığı.
|
deprecationReason |
string
Bu algoritmanın desteği sonlandırıldıysa desteğin sonlandırılma nedeni.
|
hidden |
boolean
Bu algoritmanın istemci uygulamalarında gizlenmesi ve varsayılan olarak gösterilmemesi.
|
preview |
boolean
Bu algoritmanın bir önizleme özelliği olup genel kitle tarafından henüz yaygın olarak kullanılamamasının nedeni.
|
sourceCodeUri |
string
Algoritmanın kaynak kodunu içeren bir kaynağın URI'si. Kullanıcının izni yoksa veya belirli bir URI belirlenemiyorsa boştur.
|
AlgorithmArgument
Bir algoritmaya ait bağımsız değişkenin açıklaması.
JSON gösterimi |
{
"argumentName": string,
"type": string,
"description": string,
"optional": boolean,
"defaultValue": value
} |
Alanlar |
argumentName |
string
Argümanların adı.
|
type |
string
Argümanının türü.
|
description |
string
Bağımsız değişkenin kullanıcılar tarafından okunabilir açıklaması.
|
optional |
boolean
Bağımsız değişkenin isteğe bağlı olup olmadığı.
|
defaultValue |
value (Value format)
Bir değer sağlanmazsa bağımsız değişkenin aldığı varsayılan değer.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003eThe API retrieves a comprehensive list of algorithms available for use in Earth Engine Expressions.\u003c/p\u003e\n"],["\u003cp\u003eAlgorithms are described by their name, purpose, return type, arguments, and deprecation status.\u003c/p\u003e\n"],["\u003cp\u003eEach algorithm argument is detailed, including its name, type, description, optionality, and default value.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication is required using specific OAuth scopes like \u003ccode\u003ehttps://www.googleapis.com/auth/earthengine\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made to the endpoint \u003ccode\u003eGET https://earthengine.googleapis.com/v1/{parent=projects/*}/algorithms\u003c/code\u003e, specifying the project ID.\u003c/p\u003e\n"]]],["To retrieve a list of available algorithms for use in Expressions, a `GET` request is sent to `https://earthengine.googleapis.com/v1/{parent=projects/*}/algorithms`. The request requires the `earthengine.computations.create` IAM permission. The response includes an array of algorithm objects. Each object contains the algorithm's `name`, `description`, `returnType`, `arguments`, and metadata such as whether it is `deprecated` or in `preview`. Each `argument` object contains its name, type, description, if it is `optional`, and its `defaultValue`.\n"],null,["# Method: projects.algorithms.list\n\nGets the list of all the algorithms available for use in Expressions.\n\n### HTTP request\n\n`GET https://earthengine.googleapis.com/v1/{parent=projects/*}/algorithms`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` 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 `projects/{project-id}`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `earthengine.computations.create` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nAll the algorithms available for use in Expressions.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------|\n| ``` { \"algorithms\": [ { object (/earth-engine/reference/rest/v1/projects.algorithms/list#Algorithm) } ] } ``` |\n\n| Fields ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------|\n| `algorithms[]` | `object (`[Algorithm](/earth-engine/reference/rest/v1/projects.algorithms/list#Algorithm)`)` A list of the available algorithms. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/earthengine`\n- `\n https://www.googleapis.com/auth/earthengine.readonly`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/cloud-platform.read-only`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2).\n\nAlgorithm\n---------\n\nThe description of an algorithm available for Expressions.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"description\": string, \"returnType\": string, \"arguments\": [ { object (/earth-engine/reference/rest/v1/projects.algorithms/list#AlgorithmArgument) } ], \"deprecated\": boolean, \"deprecationReason\": string, \"hidden\": boolean, \"preview\": boolean, \"sourceCodeUri\": string } ``` |\n\n| Fields ||\n|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The name of the algorithm, in the form \"algorithms/...\". |\n| `description` | `string` A human-readable description of the algorithm. |\n| `returnType` | `string` The name of the type the algorithm returns. |\n| `arguments[]` | `object (`[AlgorithmArgument](/earth-engine/reference/rest/v1/projects.algorithms/list#AlgorithmArgument)`)` Descriptions of the arguments the algorithm takes. |\n| `deprecated` | `boolean` Whether the algorithm is deprecated. |\n| `deprecationReason` | `string` If this algorithm is deprecated, the reason for the deprecation. |\n| `hidden` | `boolean` Whether this algorithm should be hidden in client applications and not shown by default. |\n| `preview` | `boolean` Whether this algorithm is a preview feature and not yet widely available for a general audience. |\n| `sourceCodeUri` | `string` 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. |\n\nAlgorithmArgument\n-----------------\n\nThe description of an argument to an algorithm.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------|\n| ``` { \"argumentName\": string, \"type\": string, \"description\": string, \"optional\": boolean, \"defaultValue\": value } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `argumentName` | `string` The name of the argument. |\n| `type` | `string` The name of the type of the argument. |\n| `description` | `string` A human-readable description of the argument. |\n| `optional` | `boolean` Whether the argument is optional. |\n| `defaultValue` | `value (`[Value](https://protobuf.dev/reference/protobuf/google.protobuf/#value)` format)` The default value the argument takes if a value is not provided. |"]]