Il nome della risorsa da copiare. name sia nel formato "projects/*/assets/**" (ad es. "projects/earthengine-legacy/assets/users/[USER]/[ASSET]"). Tutti gli asset di proprietà dell'utente si trovano nel progetto "earthengine-legacy" (ad es. "projects/earthengine-legacy/assets/users/foo/bar"). Tutti gli altri asset si trovano nel progetto "earthengine-public" (ad es. "projects/earthengine-public/assets/LANDSAT"). (ad es. "assets/users/[USER]/[ASSET]").
L'autorizzazione richiede la seguente autorizzazione IAM sulla risorsa specificata sourceName:
earthengine.assets.get
Corpo della richiesta
Il corpo della richiesta contiene dati con la seguente struttura:
Rappresentazione JSON
{"destinationName": string,"overwrite": boolean}
Campi
destinationName
string
Il nome della destinazione in cui copiare la risorsa. name sia nel formato "projects/*/assets/**" (ad es. "projects/earthengine-legacy/assets/users/[USER]/[ASSET]"). Tutti gli asset di proprietà dell'utente si trovano nel progetto "earthengine-legacy" (ad es. "projects/earthengine-legacy/assets/users/foo/bar"). Tutti gli altri asset si trovano nel progetto "earthengine-public" (ad es. "projects/earthengine-public/assets/LANDSAT").
L'autorizzazione richiede la seguente autorizzazione IAM sulla risorsa specificata destinationName:
earthengine.assets.create
overwrite
boolean
Indica se consentire la sovrascrittura di una risorsa esistente.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di EarthEngineAsset.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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"]]