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

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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.