Method: projects.getConfig
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Pobiera stan konfiguracji projektu.
Żądanie HTTP
GET https://earthengine.googleapis.com/v1beta/{name=projects/*/config}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagany. Konfiguracja projektu do pobrania w formacie „projects/*/config”.
Autoryzacja wymaga tych uprawnień IAM w przypadku określonego zasobu: name
earthengine.computations.create
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu ProjectConfig
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/cloud-platform
Więcej informacji znajdziesz w OAuth 2.0 Overview.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 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)."]]