Nazwa zasobu do skopiowania. 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"). (np. "assets/users/[USER]/[ASSET]").
Autoryzacja wymaga tych uprawnień IAM w przypadku określonego zasobu: sourceName
earthengine.assets.get
Treść żądania
Treść żądania zawiera dane o następującej strukturze:
Zapis JSON
{"destinationName": string,"overwrite": boolean}
Pola
destinationName
string
Nazwa miejsca docelowego, do którego chcesz skopiować zasób. 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: destinationName
earthengine.assets.create
overwrite
boolean
Określa, czy można zastąpić istniejący zasób.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu EarthEngineAsset.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-03-06 UTC."],[[["Copies an Earth Engine asset from a source to a destination location."],["Requires specifying the source and destination asset names in the request."],["Allows overwriting an existing asset at the destination with the `overwrite` parameter."],["Needs appropriate IAM permissions for both source (get) and destination (create) assets."],["Authentication can be achieved using Earth Engine or Cloud Platform OAuth scopes."]]],["To copy an asset, send a POST request to `https://earthengine.googleapis.com/v1beta/{sourceName=projects/*/assets/**}:copy`. Specify the `sourceName` path parameter to indicate the asset to copy and include a request body with the `destinationName` string and an `overwrite` boolean, which indicates if an existing asset can be overwritten. User-owned assets are under `earthengine-legacy`, and all other assets are under `earthengine-public`. The response will contain the copied asset information. Authorization is required.\n"]]