Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UrlNotification

import type { UrlNotification } from "https://googleapis.deno.dev/v1/indexing:v3.ts";

UrlNotification is the resource used in all Indexing API calls. It describes one event in the life cycle of a Web Document.

interface UrlNotification {
notifyTime?: Date;
type?: "URL_NOTIFICATION_TYPE_UNSPECIFIED" | "URL_UPDATED" | "URL_DELETED";
url?: string;
}

§Properties

§
notifyTime?: Date
[src]

Creation timestamp for this notification. Users should not specify it, the field is ignored at the request time.

§
type?: "URL_NOTIFICATION_TYPE_UNSPECIFIED" | "URL_UPDATED" | "URL_DELETED"
[src]

The URL life cycle event that Google is being notified about.

§
url?: string
[src]

The object of this notification. The URL must be owned by the publisher of this notification and, in case of URL_UPDATED notifications, it must be crawlable by Google.