View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation (google_api_discovery_engine v0.27.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.GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource.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/unicode.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.