View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaAnswerCitation (google_api_discovery_engine v0.22.0)

Citation info for a segment.

Attributes

  • endIndex (type: String.t, default: nil) - End of the attributed segment, exclusive.
  • sources (type: list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaAnswerCitationSource.t), default: nil) - Citation sources for the attributed segment.
  • startIndex (type: String.t, default: nil) - Index indicates the start of the segment, measured in bytes (UTF-8 unicode).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaAnswerCitation{
    endIndex: String.t() | nil,
    sources:
      [
        GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaAnswerCitationSource.t()
      ]
      | nil,
    startIndex: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.