Der Name des zu kopierenden Assets. name hat das Format „projects/*/assets/**“ (z.B. "projects/earthengine-legacy/assets/users/[USER]/[ASSET]"). Alle vom Nutzer erstellten Assets befinden sich im Projekt „earthengine-legacy“ (z.B. "projects/earthengine-legacy/assets/users/foo/bar"). Alle anderen Assets befinden sich im Projekt „earthengine-public“ (z.B. "projects/earthengine-public/assets/LANDSAT"). (z. B. mit der "assets/users/[USER]/[ASSET]").
Für die Autorisierung ist die folgende IAM-Berechtigung für die angegebene Ressource sourceName erforderlich:
earthengine.assets.get
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung
{"destinationName": string,"overwrite": boolean}
Felder
destinationName
string
Der Name des Ziels, in das das Asset kopiert werden soll. name hat das Format „projects/*/assets/**“ (z.B. "projects/earthengine-legacy/assets/users/[USER]/[ASSET]"). Alle vom Nutzer erstellten Assets befinden sich im Projekt „earthengine-legacy“ (z.B. "projects/earthengine-legacy/assets/users/foo/bar"). Alle anderen Assets befinden sich im Projekt „earthengine-public“ (z.B. "projects/earthengine-public/assets/LANDSAT").
Für die Autorisierung ist die folgende IAM-Berechtigung für die angegebene Ressource destinationName erforderlich:
earthengine.assets.create
overwrite
boolean
Gibt an, ob ein vorhandenes Asset überschrieben werden darf.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von EarthEngineAsset.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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"]]