scuba_diving बैंकॉक में 23 से 25 जुलाई तक होने जा रहे तीन दिन के हमारे पहले एसईओ कॉन्फ़्रेंस में शामिल होकर,
हमारे साथ इस इवेंट से जुड़े विषयों के बारे में ज़्यादा जानें! Search Central Live डीप डाइव 2025 के लिए
अभी आवेदन करें.
REST Resource: urlNotifications
संसाधन: UrlNotification
UrlNotification
संसाधन को सभी इंडेक्सिंग एपीआई कॉल में इस्तेमाल किया जाता है. इस संसाधन से पता चलता है कि वेब दस्तावेज़ कितने समय तक उपलब्ध रहेगा.
जेएसओएन के काेड में दिखाना |
{
"url": string,
"type": enum(UrlNotificationType ),
"notifyTime": string
} |
फ़ील्ड |
url |
string
इस सूचना का ऑब्जेक्ट. यूआरएल का मालिकाना हक इस सूचना काे प्रकाशित करने वाले व्यक्ति के पास होना चाहिए. साथ ही, URL_UPDATED सूचनाओं के मामले में, यह ज़रूरी है कि Google इसे क्रॉल कर सके.
|
type |
enum(UrlNotificationType )
यूआरएल के उपलब्ध रहने तक हुए ऐसे बदलाव जिनके बारे में Google काे जानकारी दी जा रही है.
|
notifyTime |
string (Timestamp format)
इस सूचना के लिए टाइमस्टैम्प बनाना. उपयोगकर्ताओं को इस बारे में जानकारी नहीं देनी चाहिए और अनुरोध करते समय इस फ़ील्ड को अनदेखा करना चाहिए. आरएफ़सी3339 यूटीसी के "Zulu" फ़ॉर्मैट में एक टाइमस्टैंप, नैनोसेकंड तक सटीक होता है. उदाहरण: "2014-10-02T15:01:23.045123456Z" .
|
UrlNotificationType
किसी दिए गए यूआरएल के साथ होने वाले अलग-अलग बदलावों के बारे में बताता है.
Enums |
URL_NOTIFICATION_TYPE_UNSPECIFIED |
नहीं बताया गया है |
URL_UPDATED |
दिया गया यूआरएल (वेब दस्तावेज़) अपडेट किया गया है. |
URL_DELETED |
दिया गया यूआरएल (वेब दस्तावेज़) मिटा दिया गया है. |
तरीके |
|
वेब दस्तावेज़ के बारे में मेटाडेटा की जानकारी देता है. |
|
यह सूचना देता है कि यूआरएल अपडेट किया गया है या मिटा दिया गया है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-02-17 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-02-17 (UTC) को अपडेट किया गया."],[[["`UrlNotification` is the resource used for communicating URL updates and deletions to Google's Indexing API."],["The `UrlNotification` object utilizes `url`, `type`, and `notifyTime` fields to provide details about web document events."],["`UrlNotificationType` defines the specific event being communicated, such as URL updates (`URL_UPDATED`) or deletions (`URL_DELETED`)."],["The Indexing API provides methods for publishing URL notifications and retrieving web document metadata."]]],["The `UrlNotification` resource represents an event in a web document's lifecycle, used within the Indexing API. It includes the document's `url` (which must be owned by the publisher and crawlable if `URL_UPDATED`), the `type` of event (`URL_UPDATED` or `URL_DELETED`), and `notifyTime`. The API provides `publish` to send updates or deletions. A `getMetadata` method provides web document's information. `UrlNotificationType` defines the event type.\n"]]