Kopyalanacak öğenin adı. name, "projects/*/assets/**" biçimindedir (ör. "projects/earthengine-legacy/assets/users/[USER]/[ASSET]"). Kullanıcıya ait tüm öğeler "earthengine-legacy" projesi kapsamındadır (ör. "projects/earthengine-legacy/assets/users/foo/bar"). Diğer tüm öğeler "earthengine-public" projesi kapsamındadır (ör. "projects/earthengine-public/assets/LANDSAT"). (ör. "assets/users/[USER]/[ASSET]").
Yetkilendirme, belirtilen kaynak sourceName için aşağıdaki IAM iznini gerektirir:
earthengine.assets.get
İstek içeriği
İstek metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi
{"destinationName": string,"overwrite": boolean}
Alanlar
destinationName
string
Öğenin kopyalanacağı hedef ad. name, "projects/*/assets/**" biçimindedir (ör. "projects/earthengine-legacy/assets/users/[USER]/[ASSET]"). Kullanıcıya ait tüm öğeler "earthengine-legacy" projesi kapsamındadır (ör. "projects/earthengine-legacy/assets/users/foo/bar"). Diğer tüm öğeler "earthengine-public" projesi kapsamındadır (ör. "projects/earthengine-public/assets/LANDSAT").
Yetkilendirme, belirtilen kaynak destinationName için aşağıdaki IAM iznini gerektirir:
earthengine.assets.create
overwrite
boolean
Mevcut bir öğenin üzerine yazılmasına izin verilip verilmeyeceği.
Yanıt gövdesi
Başarılıysa yanıt metni, EarthEngineAsset öğesinin bir örneğini içerir.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]