PhotoResponse
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"status": {
object (Status )
},
"photo": {
object (Photo )
}
} |
欄位 |
status |
object (Status )
在批次要求中,取得或更新單一相片的作業狀態。
|
photo |
object (Photo )
Photo 資源 (如果要求成功)。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]