PhotoResponse
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"status": {
object (Status )
},
"photo": {
object (Photo )
}
} |
字段 |
status |
object (Status )
用于在批量请求中获取或更新单张照片的操作的状态。
|
photo |
object (Photo )
Photo 资源(如果请求成功)。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\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. |"]]