Method: photoSequence.get
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
通过 Operation
接口获取指定 PhotoSequence
的元数据。
此方法会返回以下三种类型的响应:
- 如果
PhotoSequence
的处理尚未完成,则 Operation.done
= false。
- 如果处理时出现错误,
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 概览。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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)."]]