Имя актива, который нужно переместить. name имеет формат «projects/*/assets/**» (например, «projects/earthengine-legacy/assets/users/[USER]/[ASSET]»). Все ресурсы, принадлежащие пользователям, относятся к проекту «earthengine-legacy» (например, «projects/earthengine-legacy/assets/users/foo/bar»). Все остальные активы относятся к проекту «earthengine-public» (например, «projects/earthengine-public/assets/LANDSAT»).
Для авторизации требуется следующее разрешение IAM для указанного ресурса sourceName :
earthengine.assets.delete
Тело запроса
Тело запроса содержит данные следующей структуры:
JSON-представление
{"destinationName": string}
Поля
destinationName
string
Имя места назначения, куда следует переместить актив. name имеет формат «projects/*/assets/**» (например, «projects/earthengine-legacy/assets/users/[USER]/[ASSET]»). Все ресурсы, принадлежащие пользователям, относятся к проекту «earthengine-legacy» (например, «projects/earthengine-legacy/assets/users/foo/bar»). Все остальные активы относятся к проекту «earthengine-public» (например, «projects/earthengine-public/assets/LANDSAT»).
Для авторизации требуется следующее разрешение IAM для указанного ресурса destinationName :
earthengine.assets.create
Тело ответа
В случае успеха тело ответа содержит экземпляр EarthEngineAsset .
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-03-07 UTC."],[[["Moves an Earth Engine asset to a new destination within your projects."],["Requires specifying the source asset's name and the desired destination name using the format \"projects/*/assets/**\"."],["Needs appropriate IAM permissions for both deleting the source asset and creating it at the destination."],["Utilizes a POST request to the Earth Engine API, including the source and destination names in the request."],["Returns the EarthEngineAsset details upon successful completion of the move operation."]]],["This outlines the process for moving an asset using a POST request to the specified URL. The request requires a `sourceName` parameter, indicating the current asset location, and a `destinationName` within the request body, specifying the new location. `sourceName` requires `earthengine.assets.delete` permission, while `destinationName` needs `earthengine.assets.create` permission. Assets are located under \"earthengine-legacy\" for users or \"earthengine-public.\" Successful moves return an `EarthEngineAsset`. OAuth scopes `earthengine` or `cloud-platform` are required.\n"]]