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

Result

import type { Result } from "https://googleapis.deno.dev/v1/customsearch:v1.ts";

A custom search result.

interface Result {
cacheId?: string;
displayLink?: string;
fileFormat?: string;
formattedUrl?: string;
htmlFormattedUrl?: string;
htmlSnippet?: string;
htmlTitle?: string;
image?: {
byteSize?: number;
contextLink?: string;
height?: number;
thumbnailHeight?: number;
thumbnailLink?: string;
thumbnailWidth?: number;
width?: number;
}
;
kind?: string;
labels?: {
displayName?: string;
label_with_op?: string;
name?: string;
}
[]
;
link?: string;
mime?: string;
pagemap?: {
[key: string]: any;
}
;
snippet?: string;
title?: string;
}

§Properties

§
cacheId?: string
[src]

Indicates the ID of Google's cached version of the search result.

§
fileFormat?: string
[src]

The file format of the search result.

§
formattedUrl?: string
[src]

The URL displayed after the snippet for each search result.

§
htmlFormattedUrl?: string
[src]

The HTML-formatted URL displayed after the snippet for each search result.

§
htmlSnippet?: string
[src]

The snippet of the search result, in HTML.

§
htmlTitle?: string
[src]

The title of the search result, in HTML.

§
image?: {
byteSize?: number;
contextLink?: string;
height?: number;
thumbnailHeight?: number;
thumbnailLink?: string;
thumbnailWidth?: number;
width?: number;
}
[src]

Image belonging to a custom search result.

§
kind?: string
[src]

A unique identifier for the type of current object. For this API, it is customsearch#result.

§
labels?: {
displayName?: string;
label_with_op?: string;
name?: string;
}
[]
[src]

Encapsulates all information about refinement labels.

§
mime?: string
[src]

The MIME type of the search result.

§
pagemap?: {
[key: string]: any;
}
[src]

Contains PageMap information for this search result.

§
snippet?: string
[src]

The snippet of the search result, in plain text.

§
title?: string
[src]

The title of the search result, in plain text.