View Source GoogleApi.CloudSearch.V1.Model.Snippet (google_api_cloud_search v0.22.0)

Snippet of the search result, which summarizes the content of the resulting page.

Attributes

  • matchRanges (type: list(GoogleApi.CloudSearch.V1.Model.MatchRange.t), default: nil) - The matched ranges in the snippet.
  • snippet (type: String.t, default: nil) - The snippet of the document. May contain escaped HTML character that should be unescaped prior to rendering.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudSearch.V1.Model.Snippet{
  matchRanges: [GoogleApi.CloudSearch.V1.Model.MatchRange.t()] | nil,
  snippet: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.