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
§
displayLink?: string
[src]An abridged version of this search result’s URL, e.g. www.example.com.
§
htmlFormattedUrl?: string
[src]The HTML-formatted URL displayed after the snippet for each search result.
§
image?: {
[src]byteSize?: number;
contextLink?: string;
height?: number;
thumbnailHeight?: number;
thumbnailLink?: string;
thumbnailWidth?: number;
width?: number;
}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?: {
[src]displayName?: string;
label_with_op?: string;
name?: string;
}[]Encapsulates all information about refinement labels.
§
link?: string
[src]The full URL to which the search result is pointing, e.g. http://www.example.com/foo/bar.