View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult (google_api_discovery_engine v0.7.0)

Attributes

  • chunkInfo (type: list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo.t), default: nil) - If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
  • document (type: String.t, default: nil) - Document resource name.
  • snippetInfo (type: list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo.t), default: nil) - If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
  • title (type: String.t, default: nil) - Title.
  • uri (type: String.t, default: nil) - URI for the document.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult{
    chunkInfo:
      [
        GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo.t()
      ]
      | nil,
    document: String.t() | nil,
    snippetInfo:
      [
        GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo.t()
      ]
      | nil,
    title: String.t() | nil,
    uri: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.