View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswerCitation (google_api_discovery_engine v0.9.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.GoogleCloudDiscoveryengineV1betaAnswerCitationSource.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.GoogleCloudDiscoveryengineV1betaAnswerCitation{
    endIndex: String.t() | nil,
    sources:
      [
        GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswerCitationSource.t()
      ]
      | nil,
    startIndex: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.