PhotoResponse
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Representasi JSON |
{
"status": {
object (Status )
},
"photo": {
object (Photo )
}
} |
Kolom |
status |
object (Status )
Status operasi untuk mendapatkan atau memperbarui satu foto dalam permintaan batch.
|
photo |
object (Photo )
Resource Photo , jika permintaan berhasil.
|
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\u003eThis documentation outlines the JSON response structure for batch operations involving single photos in Street View Publish API.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a status object indicating the operation's success or failure and a photo object containing the photo data if the request was successful.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003estatus\u003c/code\u003e and \u003ccode\u003ephoto\u003c/code\u003e fields in the JSON response have detailed definitions and object structures linked within the documentation for further understanding.\u003c/p\u003e\n"]]],["The JSON payload structure represents a response for batch operations on a single Photo. It includes two fields: `status` and `photo`. The `status` field, represented as a Status object, indicates the success of the operation (get or update). If successful, the `photo` field, a Photo object, contains the requested or updated photo's data. This structure is used for `photos.batchGet` and `photos.batchUpdate` requests.\n"],null,["# PhotoResponse\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nResponse payload for a single [Photo](/streetview/publish/reference/rest/v1/photo#Photo) in batch operations including [photos.batchGet](/streetview/publish/reference/rest/v1/photos/batchGet#google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos) and [photos.batchUpdate](/streetview/publish/reference/rest/v1/photos/batchUpdate#google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos).\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"status\": { object (/streetview/publish/reference/rest/v1/Status) }, \"photo\": { object (/streetview/publish/reference/rest/v1/photo#Photo) } } ``` |\n\n| Fields ||\n|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `status` | `object (`[Status](/streetview/publish/reference/rest/v1/Status)`)` The status for the operation to get or update a single photo in the batch request. |\n| `photo` | `object (`[Photo](/streetview/publish/reference/rest/v1/photo#Photo)`)` The [Photo](/streetview/publish/reference/rest/v1/photo#Photo) resource, if the request was successful. |"]]