Method: projects.assets.get
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Pobiera szczegółowe informacje o zasobie.
Żądanie HTTP
GET https://earthengine.googleapis.com/v1beta/{name=projects/*/assets/**}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagany. Nazwa zasobu do pobrania. name ma format „projekty/*/zasobniki/*” (np. "projects/earthengine-legacy/assets/users/[USER]/[ASSET]"). Wszystkie zasoby należące do użytkowników znajdują się w projekcie „earthengine-legacy” (np. "projects/earthengine-legacy/assets/users/foo/bar"). Wszystkie pozostałe zasoby znajdują się w projekcie „earthengine-public” (np. "projects/earthengine-public/assets/LANDSAT").
Autoryzacja wymaga tych uprawnień IAM w przypadku określonego zasobu: name
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu EarthEngineAsset
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
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
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 detailed information about an Earth Engine asset using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing the asset's name in the URL, following a specific format.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes the EarthEngineAsset object if the request is successful.\u003c/p\u003e\n"],["\u003cp\u003eRequires proper authorization with specific OAuth scopes for access.\u003c/p\u003e\n"],["\u003cp\u003eUser-owned assets reside under the "earthengine-legacy" project, while other assets are under the "earthengine-public" project.\u003c/p\u003e\n"]]],["This API call retrieves detailed information about a specific asset. A `GET` request is made to the provided URL, including the asset's name in the format \"projects/*/assets/**\". User-owned assets reside under the \"earthengine-legacy\" project, while others are in \"earthengine-public\". The request body is empty, and successful responses provide an `EarthEngineAsset` instance. Authorization requires the `earthengine.assets.get` IAM permission and one of several specified OAuth scopes.\n"],null,["# Method: projects.assets.get\n\nGets detailed information about an asset.\n\n### HTTP request\n\n`GET https://earthengine.googleapis.com/v1beta/{name=projects/*/assets/**}`\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 name of the asset to get. `name` is of the format \"projects/\\*/assets/\\*\\*\" (e.g., \"projects/earthengine-legacy/assets/users/\\[USER\\]/\\[ASSET\\]\"). All user-owned assets are under the project \"earthengine-legacy\" (e.g., \"projects/earthengine-legacy/assets/users/foo/bar\"). All other assets are under the project \"earthengine-public\" (e.g., \"projects/earthengine-public/assets/LANDSAT\"). Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `earthengine.assets.get` |\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 [EarthEngineAsset](/earth-engine/reference/rest/v1beta/projects.assets#EarthEngineAsset).\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)."]]