ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
Method: projects.value.compute
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি নির্বিচারে মান গণনা করে। এটি ব্যর্থ হবে যদি অভিব্যক্তির ফলাফল এমন কিছু না হয় যা একটি মান হিসাবে প্রকাশযোগ্য হয়, অথবা যদি এটির মূল্যায়নের জন্য অনেক সংস্থান প্রয়োজন হয়। যদিও এখানে যেকোনো ধরনের অবজেক্ট গণনা করা সম্ভব (এবং একটি ত্রুটি নয়), সাধারণভাবে যেকোন এক্সপ্রেশন উৎপাদনকারী ফলাফল যা অন্য কম্পিউট* এন্ডপয়েন্টগুলির একটির সাথে ভালভাবে মানানসই হয় তার পরিবর্তে সেই এন্ডপয়েন্ট ব্যবহার করা উচিত (যেমন, একটি এক্সপ্রেশন যার ফলাফলের বৈশিষ্ট্যগুলির একটি সেট ComputeFeatures ব্যবহার করা উচিত)।
HTTP অনুরোধ
POST https://earthengine.googleapis.com/v1/{project=projects/*}/value:compute
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
project | string Google ক্লাউড প্ল্যাটফর্ম প্রোজেক্টের প্রোজেক্ট আইডি বা প্রোজেক্ট নম্বর যেটিকে এই অনুরোধের জন্য পরিষেবা গ্রাহক হিসাবে বিবেচনা করা উচিত। ফরম্যাট হল projects/{project-id} । অনুমোদনের জন্য নির্দিষ্ট সংস্থান project নিম্নলিখিত IAM অনুমতি প্রয়োজন: -
earthengine.computations.create
|
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"expression": {
object (Expression )
},
"workloadTag": string
} |
ক্ষেত্র |
---|
expression | object ( Expression ) গণনা করার অভিব্যক্তি। |
workloadTag | string এই গণনা ট্র্যাক করতে ব্যবহারকারীর সরবরাহকৃত ট্যাগ৷ |
প্রতিক্রিয়া শরীর
একটি নির্বিচারে গণনার ফলাফল।
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"result": value
} |
ক্ষেত্র |
---|
result | value ( Value format) অভিব্যক্তির মান গণনার ফলাফল। |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/earthengine
-
https://www.googleapis.com/auth/earthengine.readonly
-
https://www.googleapis.com/auth/cloud-platform
-
https://www.googleapis.com/auth/cloud-platform.read-only
আরো তথ্যের জন্য, দেখুনOAuth 2.0 Overview .
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eComputes the value of an arbitrary Earth Engine expression, returning the result as a JSON \u003ccode\u003eValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRecommended for expressions whose results are not better suited to other specialized endpoints like \u003ccode\u003eComputeFeatures\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the expression to compute and an optional workload tag for tracking.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003ePOST\u003c/code\u003e method and requires specific authorization scopes for access.\u003c/p\u003e\n"],["\u003cp\u003eReturns the computed value within a \u003ccode\u003eresult\u003c/code\u003e field in the response body.\u003c/p\u003e\n"]]],[],null,["# Method: projects.value.compute\n\nComputes an arbitrary value. This will fail if the result of the Expression is not something that is expressible as a Value, or if its evaluation requires too many resources. While it is possible (and not an error) to compute any type of object here, in general any Expression producing results that are better suited to one of the other Compute\\* endpoints should use that endpoint instead (e.g., an Expression whose result is a set of features should use ComputeFeatures).\n\n### HTTP request\n\n`POST https://earthengine.googleapis.com/v1/{project=projects/*}/value:compute`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `project` | `string` The project id or project number of the Google Cloud Platform project that should be treated as the service consumer for this request. Format is `projects/{project-id}`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `project`: - `earthengine.computations.create` |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------|\n| ``` { \"expression\": { object (/earth-engine/reference/rest/v1/Expression) }, \"workloadTag\": string } ``` |\n\n| Fields ||\n|---------------|--------------------------------------------------------------------------------------------------|\n| `expression` | `object (`[Expression](/earth-engine/reference/rest/v1/Expression)`)` The expression to compute. |\n| `workloadTag` | `string` User supplied tag to track this computation. |\n\n### Response body\n\nThe results of an arbitrary computation.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------|\n| ``` { \"result\": value } ``` |\n\n| Fields ||\n|----------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| `result` | `value (`[Value](https://protobuf.dev/reference/protobuf/google.protobuf/#value)` format)` The results of computing the value of the expression. |\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/earthengine.readonly`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/cloud-platform.read-only`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]