Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.KnowledgeGraphSearch.Types
Description
Service Configuration
knowledgeGraphSearchService :: ServiceConfig Source #
Default request referring to version v1
of the Knowledge Graph Search API. This contains the host and root path used as a starting point for constructing service requests.
SearchResponse
data SearchResponse Source #
Response message includes the context and a list of matching results which contain the detail of associated entities.
See: searchResponse
smart constructor.
searchResponse :: SearchResponse Source #
Creates a value of SearchResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srContext :: Lens' SearchResponse (Maybe JSONValue) Source #
The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions.
srItemListElement :: Lens' SearchResponse [JSONValue] Source #
The item list of search results.
srType :: Lens' SearchResponse (Maybe JSONValue) Source #
The schema type of top-level JSON-LD object, e.g. ItemList.
Xgafv
V1 error format.
Instances