Method: photoSequence.get
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
透過 Operation
介面取得指定 PhotoSequence
的中繼資料。
這個方法會傳回下列三種回應類型:
Operation.done
= false (如果 PhotoSequence
的處理作業尚未完成)。
Operation.done
= true 且會填入 Operation.error
(如果處理中發生錯誤)。
Operation.done
= true;Operation.response
遭到推測,其中包含 PhotoSequence
訊息。
這個方法會傳回下列錯誤代碼:
HTTP 要求
GET https://streetviewpublish.googleapis.com/v1/photoSequence/{sequenceId}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
sequenceId |
string
必要欄位。相片序列的 ID。
|
查詢參數
參數 |
view (deprecated) |
enum (PhotoView )
指定是否應在 PhotoSequence 回應中,以個別相片的 downloadUrl 傳回相片序列的下載網址。
注意:目前尚未執行。
|
filter |
string
選用設定。篩選運算式。例如 published_status=PUBLISHED 。 支援的篩選器如下:published_status 。詳情請參閱 https://google.aip.dev/160。
|
回應主體
如果成功,回應主體會包含 Operation
的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/streetviewpublish
詳情請參閱 OAuth 2.0 總覽。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\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)."]]