ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
Method: projects.assets.copy
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
HTTP অনুরোধ
POST https://earthengine.googleapis.com/v1/{sourceName=projects/*/assets/**}:copy
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
sourceName | string কপি করার জন্য সম্পদের নাম। name "projects/*/assets/**" ফরম্যাটের (যেমন, "projects/earthengine-legacy/assets/users/[USER]/[ASSET]")। সমস্ত ব্যবহারকারীর মালিকানাধীন সম্পদ "আর্থেঞ্জিন-লেগ্যাসি" প্রকল্পের অধীনে রয়েছে (যেমন, "প্রকল্প/আর্থেঞ্জিন-লেগেসি/সম্পদ/ব্যবহারকারী/ফু/বার")। অন্যান্য সমস্ত সম্পদ "আর্থেঞ্জিন-পাবলিক" প্রকল্পের অধীনে রয়েছে (যেমন, "প্রকল্প/আর্থেঞ্জিন-পাবলিক/সম্পদ/ল্যান্ডস্যাট")। (যেমন, "সম্পদ/ব্যবহারকারী/[USER]/[ASSET]")। অনুমোদনের জন্য নির্দিষ্ট রিসোর্স sourceName এ নিম্নলিখিত IAM অনুমতি প্রয়োজন: |
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"destinationName": string,
"overwrite": boolean
} |
ক্ষেত্র |
---|
destinationName | string গন্তব্যের নাম যেখানে সম্পদ কপি করতে হবে। name "projects/*/assets/**" ফরম্যাটের (যেমন, "projects/earthengine-legacy/assets/users/[USER]/[ASSET]")। সমস্ত ব্যবহারকারীর মালিকানাধীন সম্পদ "আর্থেঞ্জিন-লেগ্যাসি" প্রকল্পের অধীনে রয়েছে (যেমন, "প্রকল্প/আর্থেঞ্জিন-লেগেসি/সম্পদ/ব্যবহারকারী/ফু/বার")। অন্যান্য সমস্ত সম্পদ "আর্থেঞ্জিন-পাবলিক" প্রকল্পের অধীনে রয়েছে (যেমন, "প্রকল্প/আর্থেঞ্জিন-পাবলিক/অ্যাসেট/ল্যান্ডস্যাট")। অনুমোদনের জন্য নির্দিষ্ট রিসোর্স destinationName এ নিম্নলিখিত IAM অনুমতি প্রয়োজন: -
earthengine.assets.create
|
overwrite | boolean একটি বিদ্যমান সম্পদ ওভাররাইট করার অনুমতি দেওয়া হবে কিনা। |
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে EarthEngineAsset
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/earthengine
-
https://www.googleapis.com/auth/cloud-platform
আরো তথ্যের জন্য, দেখুনOAuth 2.0 Overview .
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eCopies an existing Earth Engine asset to a new destination.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the source asset name and the desired destination name.\u003c/p\u003e\n"],["\u003cp\u003eOptionally allows overwriting an existing asset at the destination.\u003c/p\u003e\n"],["\u003cp\u003eNeeds appropriate IAM permissions for both source and destination.\u003c/p\u003e\n"],["\u003cp\u003eUses the \u003ccode\u003ePOST\u003c/code\u003e method with the URL \u003ccode\u003ehttps://earthengine.googleapis.com/v1/{sourceName=projects/*/assets/**}:copy\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.assets.copy\n\nCopies an asset.\n\n### HTTP request\n\n`POST https://earthengine.googleapis.com/v1/{sourceName=projects/*/assets/**}:copy`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `sourceName` | `string` The name of the asset to copy. `name` is of the format \"projects/\\*/assets/\\*\\*\" (e.g., \"projects/earthengine-legacy/assets/users/\\[USER\\]/\\[ASSET\\]\"). All user-owned assets are under the project \"earthengine-legacy\" (e.g., \"projects/earthengine-legacy/assets/users/foo/bar\"). All other assets are under the project \"earthengine-public\" (e.g., \"projects/earthengine-public/assets/LANDSAT\"). (e.g., \"assets/users/\\[USER\\]/\\[ASSET\\]\"). Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `sourceName`: - `earthengine.assets.get` |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------|\n| ``` { \"destinationName\": string, \"overwrite\": boolean } ``` |\n\n| Fields ||\n|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `destinationName` | `string` The destination name to which to copy the asset. `name` is of the format \"projects/\\*/assets/\\*\\*\" (e.g., \"projects/earthengine-legacy/assets/users/\\[USER\\]/\\[ASSET\\]\"). All user-owned assets are under the project \"earthengine-legacy\" (e.g., \"projects/earthengine-legacy/assets/users/foo/bar\"). All other assets are under the project \"earthengine-public\" (e.g., \"projects/earthengine-public/assets/LANDSAT\"). Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `destinationName`: - `earthengine.assets.create` |\n| `overwrite` | `boolean` Whether to allow overwriting an existing asset. |\n\n### Response body\n\nIf successful, the response body contains an instance of [EarthEngineAsset](/earth-engine/reference/rest/v1/projects.assets#EarthEngineAsset).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/earthengine`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]