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

Indexing

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

Notifies Google Web Search when your web pages change.

class Indexing {
constructor(client?: CredentialsClient, baseUrl?: string);
async urlNotificationsGetMetadata(opts?: UrlNotificationsGetMetadataOptions): Promise<UrlNotificationMetadata>;
async urlNotificationsPublish(req: UrlNotification): Promise<PublishUrlNotificationResponse>;
}

§Constructors

§
new Indexing(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
urlNotificationsGetMetadata(opts?: UrlNotificationsGetMetadataOptions): Promise<UrlNotificationMetadata>
[src]

Gets metadata about a Web Document. This method can only be used to query URLs that were previously seen in successful Indexing API notifications. Includes the latest UrlNotification received via this API.

§
urlNotificationsPublish(req: UrlNotification): Promise<PublishUrlNotificationResponse>
[src]

Notifies that a URL has been updated or deleted.