View Source GoogleApi.CustomSearch.V1.Model.Result (google_api_custom_search v0.22.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.