PhotoResponse
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Representación JSON |
{
"status": {
object (Status )
},
"photo": {
object (Photo )
}
} |
Campos |
status |
object (Status )
El estado de la operación para obtener o actualizar una sola foto en la solicitud por lotes.
|
photo |
object (Photo )
El recurso Photo , si la solicitud se realizó de forma correcta
|
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC)
[null,null,["Última actualización: 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. |"]]