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

A custom search result.

Attributes

  • cacheId (type: String.t, default: nil) - Indicates the ID of Google's cached version of the search result.
  • displayLink (type: String.t, default: nil) - An abridged version of this search result’s URL, e.g. www.example.com.
  • fileFormat (type: String.t, default: nil) - The file format of the search result.
  • formattedUrl (type: String.t, default: nil) - The URL displayed after the snippet for each search result.
  • htmlFormattedUrl (type: String.t, default: nil) - The HTML-formatted URL displayed after the snippet for each search result.
  • htmlSnippet (type: String.t, default: nil) - The snippet of the search result, in HTML.
  • htmlTitle (type: String.t, default: nil) - The title of the search result, in HTML.
  • image (type: GoogleApi.CustomSearch.V1.Model.ResultImage.t, default: nil) - Image belonging to a custom search result.
  • kind (type: String.t, default: nil) - A unique identifier for the type of current object. For this API, it is customsearch#result.
  • labels (type: list(GoogleApi.CustomSearch.V1.Model.ResultLabels.t), default: nil) - Encapsulates all information about refinement labels.
  • link (type: String.t, default: nil) - The full URL to which the search result is pointing, e.g. http://www.example.com/foo/bar.
  • mime (type: String.t, default: nil) - The MIME type of the search result.
  • pagemap (type: map(), default: nil) - Contains PageMap information for this search result.
  • snippet (type: String.t, default: nil) - The snippet of the search result, in plain text.
  • title (type: String.t, default: nil) - The title of the search result, in plain text.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CustomSearch.V1.Model.Result{
  cacheId: String.t(),
  displayLink: String.t(),
  fileFormat: String.t(),
  formattedUrl: String.t(),
  htmlFormattedUrl: String.t(),
  htmlSnippet: String.t(),
  htmlTitle: String.t(),
  image: GoogleApi.CustomSearch.V1.Model.ResultImage.t(),
  kind: String.t(),
  labels: [GoogleApi.CustomSearch.V1.Model.ResultLabels.t()],
  link: String.t(),
  mime: String.t(),
  pagemap: map(),
  snippet: String.t(),
  title: String.t()
}

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.