Share via


GoogleSearchResult Class

A Google web page.

Note: This class is marked as 'experimental' and may change in the future.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Constructor

GoogleSearchResult(*, kind: str = '', title: str = '', htmlTitle: str = '', link: str = '', displayLink: str = '', snippet: str = '', htmlSnippet: str = '', cacheId: str = '', formattedUrl: str = '', htmlFormattedUrl: str = '', pagemap: dict[str, Any] = None, mime: str = '', fileFormat: str = '', image: dict[str, Any] = None, labels: list[dict[str, Any]] = None)

Keyword-Only Parameters

Name Description
kind
Required
title
Required
htmlTitle
Required
link
Required
displayLink
Required
snippet
Required
htmlSnippet
Required
cacheId
Required
formattedUrl
Required
htmlFormattedUrl
Required
pagemap
Required
mime
Required
fileFormat
Required
image
Required
labels
Required

Attributes

cache_id

cache_id: str
display_link: str

file_format

file_format: str

formatted_url

formatted_url: str

html_formatted_url

html_formatted_url: str

html_snippet

html_snippet: str

html_title

html_title: str

image

image: dict[str, Any]

is_experimental

is_experimental = True

kind

kind: str

labels

labels: list[dict[str, Any]]
link: str

mime

mime: str

pagemap

pagemap: dict[str, Any]

snippet

snippet: str

stage_status

stage_status = 'experimental'

title

title: str