Объявление : Все некоммерческие проекты, зарегистрированные для использования Earth Engine до
15 апреля 2025 года, должны
подтвердить некоммерческое право на сохранение доступа к Earth Engine.
Method: projects.getConfig
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Получает состояние конфигурации проекта.
HTTP-запрос
GET https://earthengine.googleapis.com/v1beta/{name=projects/*/config}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Необходимый. Получаемую конфигурацию проекта в формате "projects/*/config". Для авторизации требуется следующее разрешение IAM для указанного name ресурса: -
earthengine.computations.create
|
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит экземпляр ProjectConfig
.
Области авторизации
Требуется одна из следующих областей OAuth:
-
https://www.googleapis.com/auth/earthengine
-
https://www.googleapis.com/auth/cloud-platform
Для получения дополнительной информации см.OAuth 2.0 Overview .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eRetrieves the configuration settings of a specified Google Earth Engine project.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with either \u003ccode\u003eearthengine\u003c/code\u003e or \u003ccode\u003ecloud-platform\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eUses a \u003ccode\u003eGET\u003c/code\u003e request with the project's name as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eReturns a \u003ccode\u003eProjectConfig\u003c/code\u003e object containing the project's configuration details upon successful execution.\u003c/p\u003e\n"],["\u003cp\u003eThe specified resource \u003ccode\u003ename\u003c/code\u003e requires \u003ccode\u003eearthengine.computations.create\u003c/code\u003e IAM permission.\u003c/p\u003e\n"]]],[],null,["# Method: projects.getConfig\n\nGets the config state of a project.\n\n### HTTP request\n\n`GET https://earthengine.googleapis.com/v1beta/{name=projects/*/config}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The project config to get, of the format \"projects/\\*/config\". Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `earthengine.computations.create` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [ProjectConfig](/earth-engine/reference/rest/v1beta/ProjectConfig).\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/cloud-platform`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]