Method: accounts.hotelViews.summarize

傳回飯店的摘要資訊。

HTTP 要求

GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/hotelViews:summarize

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

要查詢的帳戶資源名稱。格式為 accounts/{account_id}

要求主體

要求主體必須為空白。

回應主體

HotelViewService.SummarizeHotelViews 的回應訊息。

如果成功,回應主體會含有以下結構的資料:

JSON 表示法
{
  "matchedPropertyCount": string,
  "unmatchedPropertyCount": string,
  "unmatchedPropertyWithErrorsCount": string,
  "overclusteredPropertyCount": string,
  "overclusteredPropertyWithErrorsCount": string,
  "liveOnGooglePropertyCount": string,
  "lastManifestUpdateTime": string,
  "lastFeedSubmissionTime": string
}
欄位
matchedPropertyCount

string (int64 format)

符合 Google 資訊清單的房源數量。

unmatchedPropertyCount

string (int64 format)

系統判定為不相符的房源數量。

unmatchedPropertyWithErrorsCount

string (int64 format)

有資料相關錯誤的不相符房源數量。

overclusteredPropertyCount

string (int64 format)

被視為有過多相符項目的飯店數量。

overclusteredPropertyWithErrorsCount

string (int64 format)

有資料相關錯誤的過度叢集房源數量。

liveOnGooglePropertyCount

string (int64 format)

在 Google 上顯示的房源數量。包括有條件啟用的屬性,例如 LIVE_ON_GOOGLE_STATUS_ACTIVE_OUTSIDE_DSA_REGION。

lastManifestUpdateTime

string (Timestamp format)

上次更新飯店資訊清單的時間戳記。

使用 RFC 3339,產生的輸出內容一律會經過 Z 正規化,並使用 0、3、6 或 9 個小數位數,也接受「Z」以外的偏移量。範例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

lastFeedSubmissionTime

string (Timestamp format)

上次提交飯店動態饋給的時間戳記。

使用 RFC 3339,產生的輸出內容一律會經過 Z 正規化,並使用 0、3、6 或 9 個小數位數,也接受「Z」以外的偏移量。範例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/travelpartner

詳情請參閱OAuth 2.0 Overview