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

A text span in the search text snippet that represents a highlighted section (answer context, highly relevant sentence, etc.).

Attributes

  • endIndex (type: integer(), default: nil) - End index of the highlight, exclusive.
  • startIndex (type: integer(), default: nil) - Start index of the highlight.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1QAResultHighlight{
    endIndex: integer() | nil,
    startIndex: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.