Method: projects.thumbnails.getPixels
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Oblicza obraz pokazujący wynik obliczeń. Prośba zawiera wartości (identyfikator i token autoryzacji) z poprzedniej prośby thumbnails.create
.
Żądanie HTTP
GET https://earthengine.googleapis.com/v1beta/{name=projects/*/thumbnails/*}:getPixels
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagany. Nazwa miniatury z Thumbnail.name .
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia odpowiedź jest ogólną odpowiedzią HTTP, której format jest zdefiniowany przez metodę.
Zakresy autoryzacji
Wymaga jednego z tych zakresów 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
Więcej informacji znajdziesz w OAuth 2.0 Overview.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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)."]]