SearchResponse Class

Defines the top-level object that the response includes when the request succeeds.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.cognitiveservices.search.customsearch.models._models_py3.Response
SearchResponse

Constructor

SearchResponse(**kwargs)

Parameters

_type
str
Required

Required. Constant filled by server.

Variables

id
str

A String identifier.

web_search_url
str

The URL To Bing's search result for this item.

query_context
QueryContext

An object that contains the query string that Bing used for the request. This object contains the query string as entered by the user. It may also contain an altered query string that Bing used for the query if the query string contained a spelling mistake.

web_pages
WebWebAnswer

A list of webpages that are relevant to the search query.