Method: photoSequence.get
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Pobiera metadane o określonym elemencie PhotoSequence
przez interfejs Operation
.
Ta metoda zwraca te 3 typy odpowiedzi:
Operation.done
= fałsz, jeśli przetwarzanie danych PhotoSequence
nie zostało jeszcze zakończone.
- Jeśli podczas przetwarzania wystąpił błąd, pole
Operation.done
zawiera wartość Operation.error
.
Operation.done
= prawda, a Operation.response
jest wypełniane z komunikatem PhotoSequence
.
Ta metoda zwraca następujące kody błędów:
Żądanie HTTP
GET https://streetviewpublish.googleapis.com/v1/photoSequence/{sequenceId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
sequenceId |
string
To pole jest wymagane. Identyfikator sekwencji zdjęć.
|
Parametry zapytania
Parametry |
view (deprecated) |
enum (PhotoView )
Określa, czy adres URL pobierania sekwencji zdjęć ma być zwracany w odpowiedzi PhotoSequence w polu downloadUrl poszczególnych zdjęć.
Uwaga: obecnie nie zaimplementowano.
|
filter |
string
Opcjonalnie. Wyrażenie filtra. Na przykład: published_status=PUBLISHED . Obsługiwane filtry: published_status . Więcej informacji znajdziesz na stronie https://google.aip.dev/160.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Operation
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/streetviewpublish
Więcej informacji znajdziesz w artykule Omówienie protokołu OAuth 2.0.
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 metadata of a specified PhotoSequence via the Operation interface.\u003c/p\u003e\n"],["\u003cp\u003eReturns an Operation response indicating processing status, error, or the PhotoSequence data.\u003c/p\u003e\n"],["\u003cp\u003ePossible errors include PERMISSION_DENIED if the user lacks access and NOT_FOUND if the PhotoSequence doesn't exist.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/streetviewpublish\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eUses a GET request with the sequence ID as a path parameter and optional view and filter query parameters.\u003c/p\u003e\n"]]],["This describes retrieving metadata for a PhotoSequence via an Operation interface using a GET request. The `sequenceId` is required as a path parameter. Optional query parameters `view` (deprecated) and `filter` can be included. An empty request body is required. The response returns an Operation, indicating whether processing is done, an error occurred, or a PhotoSequence message is available. Permission denied or not found errors can occur. OAuth scope `https://www.googleapis.com/auth/streetviewpublish` is necessary.\n"],null,["# Method: photoSequence.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets the metadata of the specified [PhotoSequence](/streetview/publish/reference/rest/v1/photoSequence/create#PhotoSequence) via the [Operation](/streetview/publish/reference/rest/v1/Operation) interface.\n\nThis method returns the following three types of responses:\n\n- `Operation.done` = false, if the processing of [PhotoSequence](/streetview/publish/reference/rest/v1/photoSequence/create#PhotoSequence) is not finished yet.\n- `Operation.done` = true and `Operation.error` is populated, if there was an error in processing.\n- `Operation.done` = true and `Operation.response` is poulated, which contains a [PhotoSequence](/streetview/publish/reference/rest/v1/photoSequence/create#PhotoSequence) message.\n\nThis method returns the following error codes:\n\n- [google.rpc.Code.PERMISSION_DENIED](/streetview/publish/reference/rest/v1/Code#ENUM_VALUES.PERMISSION_DENIED) if the requesting user did not create the requested [PhotoSequence](/streetview/publish/reference/rest/v1/photoSequence/create#PhotoSequence).\n- [google.rpc.Code.NOT_FOUND](/streetview/publish/reference/rest/v1/Code#ENUM_VALUES.NOT_FOUND) if the requested [PhotoSequence](/streetview/publish/reference/rest/v1/photoSequence/create#PhotoSequence) does not exist.\n\n### HTTP request\n\n`GET https://streetviewpublish.googleapis.com/v1/photoSequence/{sequenceId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|----------------------------------------------|\n| `sequenceId` | `string` Required. ID of the photo sequence. |\n\n### Query parameters\n\n| Parameters ||\n|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `view` **(deprecated)** | `enum (`[PhotoView](/streetview/publish/reference/rest/v1/PhotoView)`)` Specifies if a download URL for the photo sequence should be returned in `downloadUrl` of individual photos in the [PhotoSequence](/streetview/publish/reference/rest/v1/photoSequence/create#PhotoSequence) response. \u003e Note: Currently not implemented. |\n| `filter` | `string` Optional. The filter expression. For example: `published_status=PUBLISHED`. The filters supported are: `published_status`. See \u003chttps://google.aip.dev/160\u003e for more information. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/streetview/publish/reference/rest/v1/Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/streetviewpublish`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]