השם של הנכס שרוצים להעביר. 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:
[[["התוכן קל להבנה","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-06 (שעון UTC)."],[[["Moves an Earth Engine asset from a source location to a specified destination."],["Requires specific IAM permissions for both source (delete) and destination (create) locations."],["The request body should contain the destination name in the format \"projects/*/assets/**\"."],["Uses the `POST` method with the URL `https://earthengine.googleapis.com/v1/{sourceName=projects/*/assets/**}:move`."],["Successful responses return an `EarthEngineAsset` object."]]],["This outlines how to move an asset using a POST request to a specified URL. The `sourceName` path parameter indicates the asset to be moved and requires `earthengine.assets.delete` IAM permission. The `destinationName` in the request body specifies the new location, requiring `earthengine.assets.create` IAM permission. Both source and destination names follow a format of \"projects/*/assets/**\". Successful operations return an `EarthEngineAsset`. Authentication needs one of the stated OAuth scopes.\n"]]