google_api_custom_search v0.11.0 GoogleApi.CustomSearch.V1.Model.Search View Source

Response to a custom search request.

Attributes

  • context (type: map(), default: nil) - Metadata and refinements associated with the given search engine, including:

    • The name of the search engine that was used for the query.

    • A set of facet objects (refinements) you can use for refining a search.

  • items (type: list(GoogleApi.CustomSearch.V1.Model.Result.t), default: nil) - The current set of custom search results.

  • kind (type: String.t, default: nil) - Unique identifier for the type of current object. For this API, it is customsearch#search.

  • promotions (type: list(GoogleApi.CustomSearch.V1.Model.Promotion.t), default: nil) - The set of promotions. Present only if the custom search engine's configuration files define any promotions for the given query.

  • queries (type: GoogleApi.CustomSearch.V1.Model.SearchQueries.t, default: nil) - Query metadata for the previous, current, and next pages of results.

  • searchInformation (type: GoogleApi.CustomSearch.V1.Model.SearchSearchInformation.t, default: nil) - Metadata about a search operation.

  • spelling (type: GoogleApi.CustomSearch.V1.Model.SearchSpelling.t, default: nil) - Spell correction information for a query.

  • url (type: GoogleApi.CustomSearch.V1.Model.SearchUrl.t, default: nil) - OpenSearch template and URL.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.