Method: photoSequence.get
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Lấy siêu dữ liệu của PhotoSequence
đã chỉ định thông qua giao diện Operation
.
Phương thức này trả về 3 loại phản hồi sau:
Operation.done
= false, nếu quá trình xử lý PhotoSequence
chưa hoàn tất.
Operation.done
= true và Operation.error
được điền sẵn nếu có lỗi khi xử lý.
Operation.done
= true và Operation.response
được điền sẵn, có chứa thông báo PhotoSequence
.
Phương thức này trả về các mã lỗi sau:
Yêu cầu HTTP
GET https://streetviewpublish.googleapis.com/v1/photoSequence/{sequenceId}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
sequenceId |
string
Bắt buộc. Mã của chuỗi ảnh.
|
Tham số truy vấn
Các tham số |
view (deprecated) |
enum (PhotoView )
Chỉ định xem có trả lại một URL tải xuống cho chuỗi ảnh trong downloadUrl ảnh riêng lẻ trong phản hồi PhotoSequence hay không.
Lưu ý: Hiện chưa được triển khai.
|
filter |
string
Không bắt buộc. Biểu thức lọc. Ví dụ: published_status=PUBLISHED . Các bộ lọc được hỗ trợ là: published_status . Hãy tham khảo https://google.aip.dev/160 để biết thêm thông tin.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của Operation
.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/streetviewpublish
Để biết thêm thông tin, hãy xem Tổng quan về OAuth 2.0.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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)."]]