Method: projects.thumbnails.getPixels
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
חישוב של תמונה שמציגה את התוצאה של חישוב. הבקשה כוללת ערכים (מזהה ואסימון הרשאה) מבקשת thumbnails.create
קודמת.
בקשת HTTP
GET https://earthengine.googleapis.com/v1beta/{name=projects/*/thumbnails/*}:getPixels
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. שם של תמונה ממוזערת מ-Thumbnail.name .
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, התשובה היא תגובה גנרית של HTTP שהפורמט שלה מוגדר על ידי השיטה.
היקפי הרשאה
נדרש אחד מהיקפי ההרשאות הבאים של 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 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 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)."]]