PhotoResponse
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Représentation JSON |
{
"status": {
object (Status )
},
"photo": {
object (Photo )
}
} |
Champs |
status |
object (Status )
État de l'opération permettant d'obtenir ou de mettre à jour une seule photo dans la requête par lot.
|
photo |
object (Photo )
La ressource Photo , si la requête a abouti.
|
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 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. |"]]