Method: photoSequence.get
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mendapatkan metadata PhotoSequence
yang ditentukan melalui antarmuka Operation
.
Metode ini menampilkan tiga jenis respons berikut:
Operation.done
= false, jika pemrosesan PhotoSequence
belum selesai.
Operation.done
= benar dan Operation.error
diisi, jika terjadi error saat pemrosesan.
Operation.done
= true dan Operation.response
diterapkan, yang berisi pesan PhotoSequence
.
Metode ini menampilkan kode error berikut:
Permintaan HTTP
GET https://streetviewpublish.googleapis.com/v1/photoSequence/{sequenceId}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
sequenceId |
string
Wajib. ID urutan foto.
|
Parameter kueri
Parameter |
view (deprecated) |
enum (PhotoView )
Menentukan apakah URL download untuk urutan foto harus ditampilkan dalam downloadUrl setiap foto dalam respons PhotoSequence .
Catatan: Saat ini belum diterapkan.
|
filter |
string
Opsional. Ekspresi filter. Misalnya: published_status=PUBLISHED . Filter yang didukung adalah: published_status . Lihat https://google.aip.dev/160 untuk informasi selengkapnya.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance Operation
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut ini:
https://www.googleapis.com/auth/streetviewpublish
Untuk informasi selengkapnya, lihat Ringkasan OAuth 2.0.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 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)."]]