Method: accounts.hotelViews.summarize
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
होटल के बारे में खास जानकारी दिखाता है.
एचटीटीपी अनुरोध
GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/hotelViews:summarize
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल होता है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
क्वेरी किए जा रहे खाते का संसाधन नाम. फ़ॉर्मैट accounts/{account_id} है.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
जेएसओएन के काेड में दिखाना |
{
"matchedPropertyCount": string,
"unmatchedPropertyCount": string,
"unmatchedPropertyWithErrorsCount": string,
"overclusteredPropertyCount": string,
"overclusteredPropertyWithErrorsCount": string,
"liveOnGooglePropertyCount": string,
"lastManifestUpdateTime": string,
"lastFeedSubmissionTime": string
} |
फ़ील्ड |
matchedPropertyCount |
string (int64 format)
Google's मेनिफ़ेस्ट से मेल खाने वाली प्रॉपर्टी की संख्या.
|
unmatchedPropertyCount |
string (int64 format)
उन प्रॉपर्टी की संख्या जो मेल नहीं खाती हैं.
|
unmatchedPropertyWithErrorsCount |
string (int64 format)
डेटा से जुड़ी गड़बड़ियों वाली बिना मिलान वाली प्रॉपर्टी की संख्या.
|
overclusteredPropertyCount |
string (int64 format)
उन होटलों की संख्या जिन्हें ज़्यादा क्रॉल वाला माना जाता है.
|
overclusteredPropertyWithErrorsCount |
string (int64 format)
ज़्यादा ओवरलैप वाली उन प्रॉपर्टी की संख्या जिनमें डेटा से जुड़ी गड़बड़ियां हैं.
|
liveOnGooglePropertyCount |
string (int64 format)
Google पर लाइव प्रॉपर्टी की संख्या.
|
lastManifestUpdateTime |
string (Timestamp format)
होटल मेनिफ़ेस्ट के आखिरी अपडेट का टाइमस्टैंप. RFC3339 यूटीसी और कोट के फ़ॉर्मैट;Zulu" में एक टाइमस्टैंप, जिसमें नैनोसेकंड रिज़ॉल्यूशन और ज़्यादा से ज़्यादा नौ दशमलव अंक हैं. उदाहरण: "2014-10-02T15:01:23Z" और "2014-10-02T15:01:23.045123456Z" .
|
lastFeedSubmissionTime |
string (Timestamp format)
आखिरी बार होटल फ़ीड सबमिट करने का टाइमस्टैंप. RFC3339 यूटीसी और कोट के फ़ॉर्मैट;Zulu" में एक टाइमस्टैंप, जिसमें नैनोसेकंड रिज़ॉल्यूशन और ज़्यादा से ज़्यादा नौ दशमलव अंक हैं. उदाहरण: "2014-10-02T15:01:23Z" और "2014-10-02T15:01:23.045123456Z" .
|
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/travelpartner
ज़्यादा जानकारी के लिए, OAuth 2.0 की खास जानकारी देखें.
सभी अधिकार सुरक्षित. Java, Oracle और/या इसके सहयोगियों का एक पंजीकृत ट्रेडमार्क है.
आखिरी बार 2022-08-23 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2022-08-23 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eReturns summarized information about hotels, including matched, unmatched, overclustered, and live property counts.\u003c/p\u003e\n"],["\u003cp\u003eUses a \u003ccode\u003eGET\u003c/code\u003e request to the endpoint \u003ccode\u003ehttps://travelpartner.googleapis.com/v3/{parent=accounts/*}/hotelViews:summarize\u003c/code\u003e with the account ID as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eRequires an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eThe response body provides hotel view summary data, including counts and timestamps for manifest updates and feed submissions.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/travelpartner\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.hotelViews.summarize\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.SummarizeHotelViewsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nReturns summarized information about hotels.\n\n### HTTP request\n\n`GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/hotelViews:summarize`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------|\n| `parent` | `string` The resource name of the account being queried. The format is `accounts/{account_id}`. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for [HotelViewService.SummarizeHotelViews](/hotels/hotel-prices/api-reference/rest/v3/accounts.hotelViews/summarize#google.travel.travelpartner.v3.HotelViewService.SummarizeHotelViews).\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"matchedPropertyCount\": string, \"unmatchedPropertyCount\": string, \"unmatchedPropertyWithErrorsCount\": string, \"overclusteredPropertyCount\": string, \"overclusteredPropertyWithErrorsCount\": string, \"liveOnGooglePropertyCount\": string, \"lastManifestUpdateTime\": string, \"lastFeedSubmissionTime\": string } ``` |\n\n| Fields ||\n|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `matchedPropertyCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The number of properties that match Google's manifest. |\n| `unmatchedPropertyCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The number of properties that are considered unmatched. |\n| `unmatchedPropertyWithErrorsCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The number of unmatched properties that have data-related errors. |\n| `overclusteredPropertyCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The number of hotels that are considered overclustered. |\n| `overclusteredPropertyWithErrorsCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The number of overclustered properties that have data-related errors. |\n| `liveOnGooglePropertyCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The number of properties that are Live on Google. This includes properties that are conditionally active, e.g. LIVE_ON_GOOGLE_STATUS_ACTIVE_OUTSIDE_DSA_REGION. |\n| `lastManifestUpdateTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Timestamp of the last hotel manifest update. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `lastFeedSubmissionTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Timestamp of the last hotel feed submission. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/travelpartner`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]