Method: projects.thumbnails.getPixels
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
कैलकुलेशन का नतीजा दिखाने वाली इमेज कैलकुलेट करता है. अनुरोध में, thumbnails.create
के पिछले अनुरोध की वैल्यू (आईडी और अनुमति टोकन) शामिल होती हैं.
एचटीटीपी अनुरोध
GET https://earthengine.googleapis.com/v1beta/{name=projects/*/thumbnails/*}:getPixels
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. Thumbnail.name में मौजूद थंबनेल का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर अनुरोध पूरा हो जाता है, तो रिस्पॉन्स एक सामान्य एचटीटीपी रिस्पॉन्स होता है. इसका फ़ॉर्मैट, तरीके के हिसाब से तय होता है.
अनुमति के दायरे
इसके लिए, 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 साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eRetrieves computed imagery results using an ID and authorization token obtained from a prior \u003ccode\u003ethumbnails.create\u003c/code\u003e request.\u003c/p\u003e\n"],["\u003cp\u003eEmploys a \u003ccode\u003eGET\u003c/code\u003e request to the specific endpoint \u003ccode\u003ehttps://earthengine.googleapis.com/v1beta/{name=projects/*/thumbnails/*}:getPixels\u003c/code\u003e for image retrieval.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ename\u003c/code\u003e path parameter, sourced from \u003ccode\u003eThumbnail.name\u003c/code\u003e, to pinpoint the desired thumbnail.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes standard HTTP response formatting to deliver the image upon successful retrieval.\u003c/p\u003e\n"],["\u003cp\u003eNeeds appropriate authorization with scopes like \u003ccode\u003eearthengine\u003c/code\u003e, \u003ccode\u003eearthengine.readonly\u003c/code\u003e, \u003ccode\u003ecloud-platform\u003c/code\u003e, or \u003ccode\u003ecloud-platform.read-only\u003c/code\u003e.\u003c/p\u003e\n"]]],["This outlines the `getPixels` method for retrieving a computed image. It uses a `GET` request to a specified URL, requiring a thumbnail name as a path parameter. The request body must be empty. Successful responses deliver an image, and the process needs authorization via one of four listed OAuth scopes. Values from a prior `thumbnails.create` call, such as an ID and authorization token, are used. The URL uses gRPC Transcoding syntax.\n"],null,["# Method: projects.thumbnails.getPixels\n\nComputes an image showing the result of a computation. The request includes values (an ID and authorisation token) from a previous `thumbnails.create` request.\n\n### HTTP request\n\n`GET https://earthengine.googleapis.com/v1beta/{name=projects/*/thumbnails/*}:getPixels`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------|\n| `name` | `string` Required. A thumbnail name from `Thumbnail.name`. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response is a generic HTTP response whose format is defined by the method.\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)."]]