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

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. The snippet of the document. May contain escaped HTML character that should be unescaped prior to rendering.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.