返回有关酒店的汇总信息。
HTTP 请求
GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/hotelViews:summarize
网址采用 gRPC 转码语法。
路径参数
| 参数 | |
|---|---|
parent | 
                
                   
 要查询的帐号的资源名称。格式为   | 
              
请求正文
请求正文必须为空。
响应正文
如果成功,响应正文将包含结构如下的数据:
| JSON 表示法 | 
|---|
{ "matchedPropertyCount": string, "unmatchedPropertyCount": string, "unmatchedPropertyWithErrorsCount": string, "overclusteredPropertyCount": string, "overclusteredPropertyWithErrorsCount": string, "liveOnGooglePropertyCount": string, "lastManifestUpdateTime": string, "lastFeedSubmissionTime": string }  | 
                  
| 字段 | |
|---|---|
matchedPropertyCount | 
                    
                       
 与 Google 清单相匹配的属性的数量。  | 
                  
unmatchedPropertyCount | 
                    
                       
 被视为不匹配的属性的数量。  | 
                  
unmatchedPropertyWithErrorsCount | 
                    
                       
 出现数据相关错误的不匹配属性的数量。  | 
                  
overclusteredPropertyCount | 
                    
                       
 被视为过度聚类的酒店数量。  | 
                  
overclusteredPropertyWithErrorsCount | 
                    
                       
 出现数据相关错误的过度聚类属性的数量。  | 
                  
liveOnGooglePropertyCount | 
                    
                       
 已在 Google 上实时显示的媒体资源数量。  | 
                  
lastManifestUpdateTime | 
                    
                       
 上次酒店清单更新的时间戳。 时间戳采用 RFC3339 世界协调时间 (UTC)(即“祖鲁时”)格式,分辨率为纳秒级,最多包含九个小数位。示例:  | 
                  
lastFeedSubmissionTime | 
                    
                       
 上次提交酒店 Feed 时的时间戳。 时间戳采用 RFC3339 世界协调时间 (UTC)(即“祖鲁时”)格式,分辨率为纳秒级,最多包含九个小数位。示例:  | 
                  
授权范围
需要以下 OAuth 作用域:
https://www.googleapis.com/auth/travelpartner
如需了解详情,请参阅 OAuth 2.0 概览。