ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
Method: projects.operations.wait
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
সুনির্দিষ্ট দীর্ঘ-চলমান ক্রিয়াকলাপটি সম্পন্ন না হওয়া পর্যন্ত বা সর্বাধিক একটি নির্দিষ্ট টাইমআউটে পৌঁছানো পর্যন্ত অপেক্ষা করুন, সর্বশেষ অবস্থায় ফিরে আসবে। অপারেশন ইতিমধ্যে সম্পন্ন হলে, সর্বশেষ অবস্থা অবিলম্বে ফিরে আসে। নির্দিষ্ট সময়সীমা ডিফল্ট HTTP/RPC টাইমআউটের চেয়ে বেশি হলে, HTTP/RPC টাইমআউট ব্যবহার করা হয়। যদি সার্ভার এই পদ্ধতি সমর্থন না করে, তাহলে এটি google.rpc.Code.UNIMPLEMENTED
প্রদান করে। মনে রাখবেন যে এই পদ্ধতিটি সর্বোত্তম প্রচেষ্টার ভিত্তিতে। এটি নির্দিষ্ট টাইমআউটের আগে (তাৎক্ষণিক সহ) সর্বশেষ অবস্থা ফিরিয়ে দিতে পারে, যার অর্থ এমনকি একটি তাত্ক্ষণিক প্রতিক্রিয়াও অপারেশনটি সম্পন্ন হওয়ার গ্যারান্টি নয়।
HTTP অনুরোধ
POST https://earthengine.googleapis.com/v1alpha/{name=projects/*/operations/**}:wait
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
name | string অপেক্ষা করার জন্য অপারেশন রিসোর্সের নাম। |
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"timeout": string
} |
ক্ষেত্র |
---|
timeout | string ( Duration format) সময় শেষ হওয়ার আগে অপেক্ষা করার সর্বোচ্চ সময়কাল। যদি ফাঁকা রাখা হয়, তাহলে অপেক্ষা করা হবে অন্তর্নিহিত HTTP/RPC প্রোটোকল দ্বারা অনুমোদিত সময়। যদি RPC প্রসঙ্গের সময়সীমাও নির্দিষ্ট করা থাকে, তাহলে সংক্ষিপ্তটি ব্যবহার করা হবে। নয়টি পর্যন্ত ভগ্নাংশের সংখ্যা সহ সেকেন্ডে একটি সময়কাল, ' s ' দিয়ে শেষ হয়৷ উদাহরণ: "3.5s" । |
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে Operation
একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত 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\u003eWaits for a specified operation to complete or until a timeout is reached, returning the operation's latest state.\u003c/p\u003e\n"],["\u003cp\u003eUses the HTTP/RPC timeout or the specified timeout, whichever is shorter.\u003c/p\u003e\n"],["\u003cp\u003eMay return the latest state before the timeout, so an immediate response doesn't guarantee completion.\u003c/p\u003e\n"],["\u003cp\u003eRequires specific OAuth scopes for authorization, like \u003ccode\u003ehttps://www.googleapis.com/auth/earthengine\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIf the server doesn't support this method, it returns \u003ccode\u003egoogle.rpc.Code.UNIMPLEMENTED\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.operations.wait\n\nWaits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.\n\n### HTTP request\n\n`POST https://earthengine.googleapis.com/v1alpha/{name=projects/*/operations/**}:wait`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|---------------------------------------------------------|\n| `name` | `string` The name of the operation resource to wait on. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------|\n| ``` { \"timeout\": string } ``` |\n\n| Fields ||\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `timeout` | `string (`[Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration)` format)` The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `\"3.5s\"`. |\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/earth-engine/reference/rest/Shared.Types/ListOperationsResponse#Operation).\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)."]]