View Source GoogleApi.ContentWarehouse.V1.Model.ExtraSnippetInfoResponseTidbit (google_api_content_warehouse v0.3.0)

Attributes

  • anchorinfo (type: GoogleApi.ContentWarehouse.V1.Model.ExtraSnippetInfoResponseTidbitAnchorInfo.t, default: nil) -
  • begin (type: integer(), default: nil) - For tidbits only: position of tidbit in the document. More specifically, tidbit is found at [begin, end) in the document's tokens.
  • end (type: integer(), default: nil) -
  • items (type: String.t, default: nil) - a bitvector of each query term within this tidbit
  • score (type: number(), default: nil) - the score for this tidbit if there was one this is returned for Snippets and Tidbits and is only meaningful for comparing between objects of the same type (snippet to snippet, tidbit to tidbit)
  • text (type: String.t, default: nil) - the tidbit text, with search terms already highlighted
  • type (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ExtraSnippetInfoResponseTidbit{
  anchorinfo:
    GoogleApi.ContentWarehouse.V1.Model.ExtraSnippetInfoResponseTidbitAnchorInfo.t()
    | nil,
  begin: integer() | nil,
  end: integer() | nil,
  items: String.t() | nil,
  score: number() | nil,
  text: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.